#[repr(transparent)]pub struct Endpt(pub u8);Expand description
Endpoint Control
Tuple Fields§
§0: u8Implementations§
Source§impl Endpt
impl Endpt
Sourcepub const fn set_ephshk(&mut self, val: bool)
pub const fn set_ephshk(&mut self, val: bool)
Endpoint Handshaking Enable
Sourcepub const fn set_epstall(&mut self, val: bool)
pub const fn set_epstall(&mut self, val: bool)
Endpoint Stalled
Sourcepub const fn set_eptxen(&mut self, val: bool)
pub const fn set_eptxen(&mut self, val: bool)
Endpoint for TX transfers enable
Sourcepub const fn set_eprxen(&mut self, val: bool)
pub const fn set_eprxen(&mut self, val: bool)
Endpoint for RX transfers enable
Sourcepub const fn set_epctldis(&mut self, val: Epctldis)
pub const fn set_epctldis(&mut self, val: Epctldis)
Control Transfer Disable
Sourcepub const fn set_retrydis(&mut self, val: Retrydis)
pub const fn set_retrydis(&mut self, val: Retrydis)
Retry Disable
Sourcepub const fn set_hostwohub(&mut self, val: Hostwohub)
pub const fn set_hostwohub(&mut self, val: Hostwohub)
Host Without A Hub
Trait Implementations§
impl Copy for Endpt
impl Eq for Endpt
impl StructuralPartialEq for Endpt
Auto Trait Implementations§
impl Freeze for Endpt
impl RefUnwindSafe for Endpt
impl Send for Endpt
impl Sync for Endpt
impl Unpin for Endpt
impl UnwindSafe for Endpt
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