#[repr(u32)]pub enum ParamSwitch {
Auto = 0,
Enable = 1,
Disable = 2,
}Variants§
Trait Implementations§
Source§impl Clone for ParamSwitch
impl Clone for ParamSwitch
Source§fn clone(&self) -> ParamSwitch
fn clone(&self) -> ParamSwitch
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 moreSource§impl PartialEq for ParamSwitch
impl PartialEq for ParamSwitch
Source§fn eq(&self, other: &ParamSwitch) -> bool
fn eq(&self, other: &ParamSwitch) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<i32> for ParamSwitch
impl TryFrom<i32> for ParamSwitch
impl Copy for ParamSwitch
impl Eq for ParamSwitch
impl StructuralPartialEq for ParamSwitch
Auto Trait Implementations§
impl Freeze for ParamSwitch
impl RefUnwindSafe for ParamSwitch
impl Send for ParamSwitch
impl Sync for ParamSwitch
impl Unpin for ParamSwitch
impl UnsafeUnpin for ParamSwitch
impl UnwindSafe for ParamSwitch
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