#[repr(u8)]pub enum DropMeasure {
DROP_MEASURE_0 = 0,
DROP_MEASURE_1 = 1,
}Variants§
DROP_MEASURE_0 = 0
Do not drop measure for now
DROP_MEASURE_1 = 1
Drop the measure and controller return to idle status
Implementations§
Source§impl DropMeasure
impl DropMeasure
Trait Implementations§
Source§impl Clone for DropMeasure
impl Clone for DropMeasure
Source§fn clone(&self) -> DropMeasure
fn clone(&self) -> DropMeasure
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 DropMeasure
impl Debug for DropMeasure
Source§impl From<DropMeasure> for u8
impl From<DropMeasure> for u8
Source§fn from(val: DropMeasure) -> u8
fn from(val: DropMeasure) -> u8
Converts to this type from the input type.
Source§impl From<u8> for DropMeasure
impl From<u8> for DropMeasure
Source§fn from(val: u8) -> DropMeasure
fn from(val: u8) -> DropMeasure
Converts to this type from the input type.
Source§impl Ord for DropMeasure
impl Ord for DropMeasure
Source§fn cmp(&self, other: &DropMeasure) -> Ordering
fn cmp(&self, other: &DropMeasure) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DropMeasure
impl PartialEq for DropMeasure
Source§impl PartialOrd for DropMeasure
impl PartialOrd for DropMeasure
impl Copy for DropMeasure
impl Eq for DropMeasure
impl StructuralPartialEq for DropMeasure
Auto Trait Implementations§
impl Freeze for DropMeasure
impl RefUnwindSafe for DropMeasure
impl Send for DropMeasure
impl Sync for DropMeasure
impl Unpin for DropMeasure
impl UnwindSafe for DropMeasure
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