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