Enum Eventdisable
#[repr(u8)]pub enum Eventdisable {
Enabled = 0,
Disabled = 1,
}Variants§
Implementations§
§impl Eventdisable
impl Eventdisable
pub const fn from_bits(val: u8) -> Eventdisable
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Eventdisable
impl Clone for Eventdisable
§fn clone(&self) -> Eventdisable
fn clone(&self) -> Eventdisable
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 Eventdisable
§impl Debug for Eventdisable
impl Debug for Eventdisable
impl Eq for Eventdisable
§impl From<u8> for Eventdisable
impl From<u8> for Eventdisable
§fn from(val: u8) -> Eventdisable
fn from(val: u8) -> Eventdisable
Converts to this type from the input type.
§impl Ord for Eventdisable
impl Ord for Eventdisable
§fn cmp(&self, other: &Eventdisable) -> Ordering
fn cmp(&self, other: &Eventdisable) -> Ordering
1.21.0 (const: unstable) · 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
§impl PartialEq for Eventdisable
impl PartialEq for Eventdisable
§impl PartialOrd for Eventdisable
impl PartialOrd 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 UnsafeUnpin 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