#[repr(transparent)]pub struct HostControllerState(pub i32);Tuple Fields§
§0: i32Implementations§
Source§impl HostControllerState
impl HostControllerState
pub const HALT: HostControllerState
pub const OPERATIONAL: HostControllerState
pub const SUSPEND: HostControllerState
Trait Implementations§
Source§impl Clone for HostControllerState
impl Clone for HostControllerState
Source§fn clone(&self) -> HostControllerState
fn clone(&self) -> HostControllerState
Returns a duplicate 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 Debug for HostControllerState
impl Debug for HostControllerState
Source§impl Hash for HostControllerState
impl Hash for HostControllerState
Source§impl Ord for HostControllerState
impl Ord for HostControllerState
Source§fn cmp(&self, other: &HostControllerState) -> Ordering
fn cmp(&self, other: &HostControllerState) -> 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 HostControllerState
impl PartialEq for HostControllerState
Source§impl PartialOrd for HostControllerState
impl PartialOrd for HostControllerState
impl Copy for HostControllerState
impl Eq for HostControllerState
impl StructuralPartialEq for HostControllerState
Auto Trait Implementations§
impl Freeze for HostControllerState
impl RefUnwindSafe for HostControllerState
impl Send for HostControllerState
impl Sync for HostControllerState
impl Unpin for HostControllerState
impl UnwindSafe for HostControllerState
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