pub struct Increment;
Expand description
Increments a value by one (e.g. in a Gauge
)
Trait Implementations§
Source§impl From<Increment> for ObservedValue
impl From<Increment> for ObservedValue
impl Copy for Increment
Auto Trait Implementations§
impl Freeze for Increment
impl RefUnwindSafe for Increment
impl Send for Increment
impl Sync for Increment
impl Unpin for Increment
impl UnwindSafe for Increment
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