pub enum DepreciationMode {
Quiet,
Warn,
Error,
}Variants§
Trait Implementations§
Source§impl Clone for DepreciationMode
impl Clone for DepreciationMode
Source§fn clone(&self) -> DepreciationMode
fn clone(&self) -> DepreciationMode
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 DepreciationMode
Source§impl Debug for DepreciationMode
impl Debug for DepreciationMode
Source§impl PartialEq for DepreciationMode
impl PartialEq for DepreciationMode
Source§fn eq(&self, other: &DepreciationMode) -> bool
fn eq(&self, other: &DepreciationMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DepreciationMode
Source§impl ValueEnum for DepreciationMode
impl ValueEnum for DepreciationMode
Auto Trait Implementations§
impl Freeze for DepreciationMode
impl RefUnwindSafe for DepreciationMode
impl Send for DepreciationMode
impl Sync for DepreciationMode
impl Unpin for DepreciationMode
impl UnsafeUnpin for DepreciationMode
impl UnwindSafe for DepreciationMode
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