Enum GotgctlCurmod
#[repr(u8)]pub enum GotgctlCurmod {
Devicemode = 0,
Hostmode = 1,
}Variants§
Implementations§
§impl GotgctlCurmod
impl GotgctlCurmod
pub const fn from_bits(val: u8) -> GotgctlCurmod
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for GotgctlCurmod
impl Clone for GotgctlCurmod
§fn clone(&self) -> GotgctlCurmod
fn clone(&self) -> GotgctlCurmod
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 GotgctlCurmod
§impl Debug for GotgctlCurmod
impl Debug for GotgctlCurmod
impl Eq for GotgctlCurmod
§impl From<u8> for GotgctlCurmod
impl From<u8> for GotgctlCurmod
§fn from(val: u8) -> GotgctlCurmod
fn from(val: u8) -> GotgctlCurmod
Converts to this type from the input type.
§impl Ord for GotgctlCurmod
impl Ord for GotgctlCurmod
§fn cmp(&self, other: &GotgctlCurmod) -> Ordering
fn cmp(&self, other: &GotgctlCurmod) -> 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 GotgctlCurmod
impl PartialEq for GotgctlCurmod
§impl PartialOrd for GotgctlCurmod
impl PartialOrd for GotgctlCurmod
impl StructuralPartialEq for GotgctlCurmod
Auto Trait Implementations§
impl Freeze for GotgctlCurmod
impl RefUnwindSafe for GotgctlCurmod
impl Send for GotgctlCurmod
impl Sync for GotgctlCurmod
impl Unpin for GotgctlCurmod
impl UnsafeUnpin for GotgctlCurmod
impl UnwindSafe for GotgctlCurmod
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