pub struct StoreRatio { /* private fields */ }Expand description
Progression ratio for store metrics.
This is used for the Store::capacity and Store::lifetime metrics. Those metrics are
measured in words.
§Invariant
- The used value does not exceed the total:
used<=total.
Implementations§
Trait Implementations§
Source§impl Clone for StoreRatio
impl Clone for StoreRatio
Source§fn clone(&self) -> StoreRatio
fn clone(&self) -> StoreRatio
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StoreRatio
Source§impl Debug for StoreRatio
impl Debug for StoreRatio
impl Eq for StoreRatio
Source§impl PartialEq for StoreRatio
impl PartialEq for StoreRatio
Source§fn eq(&self, other: &StoreRatio) -> bool
fn eq(&self, other: &StoreRatio) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StoreRatio
Auto Trait Implementations§
impl Freeze for StoreRatio
impl RefUnwindSafe for StoreRatio
impl Send for StoreRatio
impl Sync for StoreRatio
impl Unpin for StoreRatio
impl UnsafeUnpin for StoreRatio
impl UnwindSafe for StoreRatio
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