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