pub struct GaugeSnapshot {
pub current: usize,
pub high_water: usize,
}Fields§
§current: usize§high_water: usizeTrait Implementations§
Source§impl Clone for GaugeSnapshot
impl Clone for GaugeSnapshot
Source§fn clone(&self) -> GaugeSnapshot
fn clone(&self) -> GaugeSnapshot
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 GaugeSnapshot
Source§impl Debug for GaugeSnapshot
impl Debug for GaugeSnapshot
Source§impl Default for GaugeSnapshot
impl Default for GaugeSnapshot
Source§fn default() -> GaugeSnapshot
fn default() -> GaugeSnapshot
Returns the “default value” for a type. Read more
impl Eq for GaugeSnapshot
Source§impl PartialEq for GaugeSnapshot
impl PartialEq for GaugeSnapshot
impl StructuralPartialEq for GaugeSnapshot
Auto Trait Implementations§
impl Freeze for GaugeSnapshot
impl RefUnwindSafe for GaugeSnapshot
impl Send for GaugeSnapshot
impl Sync for GaugeSnapshot
impl Unpin for GaugeSnapshot
impl UnsafeUnpin for GaugeSnapshot
impl UnwindSafe for GaugeSnapshot
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