Struct stm32_metapac::otg::regs::Dvbuspulse
#[repr(transparent)]pub struct Dvbuspulse(pub u32);
Expand description
Device VBUS pulsing time register
Tuple Fields§
§0: u32
Implementations§
§impl Dvbuspulse
impl Dvbuspulse
pub fn set_dvbusp(&mut self, val: u16)
pub fn set_dvbusp(&mut self, val: u16)
Device VBUS pulsing time
Trait Implementations§
§impl Clone for Dvbuspulse
impl Clone for Dvbuspulse
§fn clone(&self) -> Dvbuspulse
fn clone(&self) -> Dvbuspulse
Returns a copy 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 more§impl Default for Dvbuspulse
impl Default for Dvbuspulse
§fn default() -> Dvbuspulse
fn default() -> Dvbuspulse
Returns the “default value” for a type. Read more
§impl PartialEq for Dvbuspulse
impl PartialEq for Dvbuspulse
§fn eq(&self, other: &Dvbuspulse) -> bool
fn eq(&self, other: &Dvbuspulse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Dvbuspulse
impl Eq for Dvbuspulse
impl StructuralEq for Dvbuspulse
impl StructuralPartialEq for Dvbuspulse
Auto Trait Implementations§
impl RefUnwindSafe for Dvbuspulse
impl Send for Dvbuspulse
impl Sync for Dvbuspulse
impl Unpin for Dvbuspulse
impl UnwindSafe for Dvbuspulse
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