#[repr(transparent)]pub struct Usb2LoopbackSet(pub u32);Expand description
USB Loopback Test Register
Tuple Fields§
§0: u32Implementations§
Source§impl Usb2LoopbackSet
impl Usb2LoopbackSet
Sourcepub const fn utmi_teststart(&self) -> bool
pub const fn utmi_teststart(&self) -> bool
Setting this bit can enable 1
Sourcepub const fn set_utmi_teststart(&mut self, val: bool)
pub const fn set_utmi_teststart(&mut self, val: bool)
Setting this bit can enable 1
Trait Implementations§
Source§impl Clone for Usb2LoopbackSet
impl Clone for Usb2LoopbackSet
Source§fn clone(&self) -> Usb2LoopbackSet
fn clone(&self) -> Usb2LoopbackSet
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 Usb2LoopbackSet
impl Debug for Usb2LoopbackSet
Source§impl Default for Usb2LoopbackSet
impl Default for Usb2LoopbackSet
Source§fn default() -> Usb2LoopbackSet
fn default() -> Usb2LoopbackSet
Returns the “default value” for a type. Read more
Source§impl PartialEq for Usb2LoopbackSet
impl PartialEq for Usb2LoopbackSet
impl Copy for Usb2LoopbackSet
impl Eq for Usb2LoopbackSet
impl StructuralPartialEq for Usb2LoopbackSet
Auto Trait Implementations§
impl Freeze for Usb2LoopbackSet
impl RefUnwindSafe for Usb2LoopbackSet
impl Send for Usb2LoopbackSet
impl Sync for Usb2LoopbackSet
impl Unpin for Usb2LoopbackSet
impl UnwindSafe for Usb2LoopbackSet
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