#[repr(C)]pub struct Sizes {
pub current: usize,
pub allocated: usize,
}
Expand description
Object sizes (current and allocated)
Fields§
§current: usize
Current size of object
allocated: usize
Allocated size of object
Trait Implementations§
Source§impl Ord for Sizes
impl Ord for Sizes
Source§impl PartialOrd for Sizes
impl PartialOrd for Sizes
impl Copy for Sizes
impl Eq for Sizes
impl StructuralPartialEq for Sizes
Auto Trait Implementations§
impl Freeze for Sizes
impl RefUnwindSafe for Sizes
impl Send for Sizes
impl Sync for Sizes
impl Unpin for Sizes
impl UnwindSafe for Sizes
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