pub struct LinearStatistics {
pub total: usize,
pub used: usize,
pub unused: usize,
pub moved: usize,
}Expand description
Statistics about linear resource usage.
Fields§
§total: usizeTotal number of resources
used: usizeNumber of used resources
unused: usizeNumber of unused resources
moved: usizeNumber of moved resources
Trait Implementations§
Source§impl Clone for LinearStatistics
impl Clone for LinearStatistics
Source§fn clone(&self) -> LinearStatistics
fn clone(&self) -> LinearStatistics
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for LinearStatistics
impl RefUnwindSafe for LinearStatistics
impl Send for LinearStatistics
impl Sync for LinearStatistics
impl Unpin for LinearStatistics
impl UnwindSafe for LinearStatistics
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