#[repr(transparent)]pub struct Endptctrl0(pub u32);Expand description
Endpoint Control 0
Tuple Fields§
§0: u32Implementations§
Source§impl Endptctrl0
impl Endptctrl0
Sourcepub const fn rxt(&self) -> Endptctrl0Rxt
pub const fn rxt(&self) -> Endptctrl0Rxt
RX Endpoint Type
Sourcepub const fn set_rxt(&mut self, val: Endptctrl0Rxt)
pub const fn set_rxt(&mut self, val: Endptctrl0Rxt)
RX Endpoint Type
Sourcepub const fn txt(&self) -> Endptctrl0Txt
pub const fn txt(&self) -> Endptctrl0Txt
TX Endpoint Type
Sourcepub const fn set_txt(&mut self, val: Endptctrl0Txt)
pub const fn set_txt(&mut self, val: Endptctrl0Txt)
TX Endpoint Type
Trait Implementations§
Source§impl Clone for Endptctrl0
impl Clone for Endptctrl0
Source§fn clone(&self) -> Endptctrl0
fn clone(&self) -> Endptctrl0
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 Endptctrl0
impl Debug for Endptctrl0
Source§impl Default for Endptctrl0
impl Default for Endptctrl0
Source§fn default() -> Endptctrl0
fn default() -> Endptctrl0
Returns the “default value” for a type. Read more
Source§impl PartialEq for Endptctrl0
impl PartialEq for Endptctrl0
impl Copy for Endptctrl0
impl Eq for Endptctrl0
impl StructuralPartialEq for Endptctrl0
Auto Trait Implementations§
impl Freeze for Endptctrl0
impl RefUnwindSafe for Endptctrl0
impl Send for Endptctrl0
impl Sync for Endptctrl0
impl Unpin for Endptctrl0
impl UnwindSafe for Endptctrl0
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