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