#[repr(u8)]pub enum Eventdisable {
ENABLED = 0,
DISABLED = 1,
}
Variants§
Implementations§
Source§impl Eventdisable
impl Eventdisable
Trait Implementations§
Source§impl Clone for Eventdisable
impl Clone for Eventdisable
Source§fn clone(&self) -> Eventdisable
fn clone(&self) -> Eventdisable
Returns a copy 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 From<Eventdisable> for u8
impl From<Eventdisable> for u8
Source§fn from(val: Eventdisable) -> u8
fn from(val: Eventdisable) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Eventdisable
impl From<u8> for Eventdisable
Source§fn from(val: u8) -> Eventdisable
fn from(val: u8) -> Eventdisable
Converts to this type from the input type.
Source§impl Ord for Eventdisable
impl Ord for Eventdisable
Source§fn cmp(&self, other: &Eventdisable) -> Ordering
fn cmp(&self, other: &Eventdisable) -> 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 Eventdisable
impl PartialEq for Eventdisable
Source§impl PartialOrd for Eventdisable
impl PartialOrd for Eventdisable
impl Copy for Eventdisable
impl Eq for Eventdisable
impl StructuralPartialEq for Eventdisable
Auto Trait Implementations§
impl Freeze for Eventdisable
impl RefUnwindSafe for Eventdisable
impl Send for Eventdisable
impl Sync for Eventdisable
impl Unpin for Eventdisable
impl UnwindSafe for Eventdisable
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)