pub struct ChangeBy(pub i64);
Expand description
Changes a value by the given amount (e.g. in a Gauge
)
Tuple Fields§
§0: i64
Trait Implementations§
Source§impl From<ChangeBy> for ObservedValue
impl From<ChangeBy> for ObservedValue
impl Copy for ChangeBy
Auto Trait Implementations§
impl Freeze for ChangeBy
impl RefUnwindSafe for ChangeBy
impl Send for ChangeBy
impl Sync for ChangeBy
impl Unpin for ChangeBy
impl UnwindSafe for ChangeBy
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