Struct Epdatastatus
#[repr(transparent)]pub struct Epdatastatus(pub u32);Expand description
Provides information on which endpoint(s) an acknowledged data transfer has occurred (EPDATA event).
Tuple Fields§
§0: u32Implementations§
§impl Epdatastatus
impl Epdatastatus
pub const fn epin(&self, n: usize) -> bool
pub const fn epin(&self, n: usize) -> bool
Acknowledged data transfer on this IN endpoint. Write ‘1’ to clear.
pub const fn set_epin(&mut self, n: usize, val: bool)
pub const fn set_epin(&mut self, n: usize, val: bool)
Acknowledged data transfer on this IN endpoint. Write ‘1’ to clear.
Trait Implementations§
§impl Clone for Epdatastatus
impl Clone for Epdatastatus
§fn clone(&self) -> Epdatastatus
fn clone(&self) -> Epdatastatus
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 Epdatastatus
§impl Debug for Epdatastatus
impl Debug for Epdatastatus
§impl Default for Epdatastatus
impl Default for Epdatastatus
§fn default() -> Epdatastatus
fn default() -> Epdatastatus
Returns the “default value” for a type. Read more
impl Eq for Epdatastatus
§impl PartialEq for Epdatastatus
impl PartialEq for Epdatastatus
impl StructuralPartialEq for Epdatastatus
Auto Trait Implementations§
impl Freeze for Epdatastatus
impl RefUnwindSafe for Epdatastatus
impl Send for Epdatastatus
impl Sync for Epdatastatus
impl Unpin for Epdatastatus
impl UnsafeUnpin for Epdatastatus
impl UnwindSafe for Epdatastatus
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