pub enum AllocSize {
Static(usize),
Dynamic(ValueId),
}Expand description
Size of an allocation.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AllocSize
impl<'de> Deserialize<'de> for AllocSize
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
impl Eq for AllocSize
impl StructuralPartialEq for AllocSize
Auto Trait Implementations§
impl Freeze for AllocSize
impl RefUnwindSafe for AllocSize
impl Send for AllocSize
impl Sync for AllocSize
impl Unpin for AllocSize
impl UnsafeUnpin for AllocSize
impl UnwindSafe for AllocSize
Blanket Implementations§
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