pub enum AdjustmentValue {
New(u16),
Delta(i16),
}Expand description
Argument type for value adjustment functions.
Variants§
Trait Implementations§
Source§impl Clone for AdjustmentValue
impl Clone for AdjustmentValue
Source§fn clone(&self) -> AdjustmentValue
fn clone(&self) -> AdjustmentValue
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 moreSource§impl Debug for AdjustmentValue
impl Debug for AdjustmentValue
Source§impl PartialEq for AdjustmentValue
impl PartialEq for AdjustmentValue
impl Copy for AdjustmentValue
impl StructuralPartialEq for AdjustmentValue
Auto Trait Implementations§
impl Freeze for AdjustmentValue
impl RefUnwindSafe for AdjustmentValue
impl Send for AdjustmentValue
impl Sync for AdjustmentValue
impl Unpin for AdjustmentValue
impl UnwindSafe for AdjustmentValue
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