#[repr(transparent)]pub struct Char(pub u32);Expand description
Description cluster: Host Channel Characteristics Register
Tuple Fields§
§0: u32Implementations§
Source§impl Char
impl Char
Sourcepub const fn set_lspddev(&mut self, val: bool)
pub const fn set_lspddev(&mut self, val: bool)
Low-Speed Device (LSpdDev)
Sourcepub const fn eptype(&self) -> CharEptype
pub const fn eptype(&self) -> CharEptype
Endpoint Type (EPType)
Sourcepub const fn set_eptype(&mut self, val: CharEptype)
pub const fn set_eptype(&mut self, val: CharEptype)
Endpoint Type (EPType)
Sourcepub const fn set_devaddr(&mut self, val: u8)
pub const fn set_devaddr(&mut self, val: u8)
Device Address (DevAddr)
Sourcepub const fn set_oddfrm(&mut self, val: Oddfrm)
pub const fn set_oddfrm(&mut self, val: Oddfrm)
Odd Frame (OddFrm)
Trait Implementations§
impl Copy for Char
impl Eq for Char
impl StructuralPartialEq for Char
Auto Trait Implementations§
impl Freeze for Char
impl RefUnwindSafe for Char
impl Send for Char
impl Sync for Char
impl Unpin for Char
impl UnwindSafe for Char
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)