#[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§
Source§impl Epdatastatus
impl Epdatastatus
Sourcepub 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.
Sourcepub fn set_epin(&mut self, n: usize, val: bool)
pub fn set_epin(&mut self, n: usize, val: bool)
Acknowledged data transfer on this IN endpoint. Write ‘1’ to clear.
Trait Implementations§
Source§impl Clone for Epdatastatus
impl Clone for Epdatastatus
Source§fn clone(&self) -> Epdatastatus
fn clone(&self) -> Epdatastatus
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Epdatastatus
impl Debug for Epdatastatus
Source§impl Default for Epdatastatus
impl Default for Epdatastatus
Source§fn default() -> Epdatastatus
fn default() -> Epdatastatus
Returns the “default value” for a type. Read more
Source§impl PartialEq for Epdatastatus
impl PartialEq for Epdatastatus
impl Copy for Epdatastatus
impl Eq 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 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