#[repr(transparent)]pub struct Usb0clksel(pub u32);Expand description
USB-FS Clock Source Select
Tuple Fields§
§0: u32Implementations§
Source§impl Usb0clksel
impl Usb0clksel
Sourcepub const fn sel(&self) -> Usb0clkselSel
pub const fn sel(&self) -> Usb0clkselSel
Selects the USB-FS clock source.
Sourcepub const fn set_sel(&mut self, val: Usb0clkselSel)
pub const fn set_sel(&mut self, val: Usb0clkselSel)
Selects the USB-FS clock source.
Trait Implementations§
Source§impl Clone for Usb0clksel
impl Clone for Usb0clksel
Source§fn clone(&self) -> Usb0clksel
fn clone(&self) -> Usb0clksel
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 Usb0clksel
impl Debug for Usb0clksel
Source§impl Default for Usb0clksel
impl Default for Usb0clksel
Source§fn default() -> Usb0clksel
fn default() -> Usb0clksel
Returns the “default value” for a type. Read more
Source§impl PartialEq for Usb0clksel
impl PartialEq for Usb0clksel
impl Copy for Usb0clksel
impl Eq for Usb0clksel
impl StructuralPartialEq for Usb0clksel
Auto Trait Implementations§
impl Freeze for Usb0clksel
impl RefUnwindSafe for Usb0clksel
impl Send for Usb0clksel
impl Sync for Usb0clksel
impl Unpin for Usb0clksel
impl UnwindSafe for Usb0clksel
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