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