pub struct AbsoluteCapacity {
pub capacity: NonZeroUsize,
}
Fields§
§capacity: NonZeroUsize
Trait Implementations§
source§impl Clone for AbsoluteCapacity
impl Clone for AbsoluteCapacity
source§fn clone(&self) -> AbsoluteCapacity
fn clone(&self) -> AbsoluteCapacity
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 AbsoluteCapacity
impl Debug for AbsoluteCapacity
source§impl<'de> Deserialize<'de> for AbsoluteCapacity
impl<'de> Deserialize<'de> for AbsoluteCapacity
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 AbsoluteCapacity
impl Serialize for AbsoluteCapacity
impl Copy for AbsoluteCapacity
Auto Trait Implementations§
impl Freeze for AbsoluteCapacity
impl RefUnwindSafe for AbsoluteCapacity
impl Send for AbsoluteCapacity
impl Sync for AbsoluteCapacity
impl Unpin for AbsoluteCapacity
impl UnwindSafe for AbsoluteCapacity
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