pub struct RelativeCapacity {
pub factor: PositiveF64,
}
Fields§
§factor: PositiveF64
Trait Implementations§
source§impl Clone for RelativeCapacity
impl Clone for RelativeCapacity
source§fn clone(&self) -> RelativeCapacity
fn clone(&self) -> RelativeCapacity
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RelativeCapacity
impl Debug for RelativeCapacity
source§impl<'de> Deserialize<'de> for RelativeCapacity
impl<'de> Deserialize<'de> for RelativeCapacity
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for RelativeCapacity
impl Serialize for RelativeCapacity
impl Copy for RelativeCapacity
Auto Trait Implementations§
impl Freeze for RelativeCapacity
impl RefUnwindSafe for RelativeCapacity
impl Send for RelativeCapacity
impl Sync for RelativeCapacity
impl Unpin for RelativeCapacity
impl UnwindSafe for RelativeCapacity
Blanket Implementations§
§impl<T> Backup for Twhere
T: Clone,
impl<T> Backup for Twhere
T: Clone,
default unsafe fn backup_unchecked(&self) -> T
default unsafe fn __contracts_impl_backup_unchecked(&self) -> T
fn backup(&self) -> BackedUp<Self>
§impl<T> Backup for Twhere
T: Copy,
impl<T> Backup for Twhere
T: Copy,
unsafe fn __contracts_impl_backup_unchecked(&self) -> T
unsafe fn backup_unchecked(&self) -> Self
fn backup(&self) -> BackedUp<Self>
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> ExtractDiscriminant for T
impl<T> ExtractDiscriminant for T
§type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
The type of the discriminant, which must satisfy the trait bounds
required by
core::mem::Discriminant
. Read more