#[repr(transparent)]pub struct Divisor(pub u32);Expand description
Baud Rate Divisor
Tuple Fields§
§0: u32Implementations§
Source§impl Divisor
impl Divisor
Sourcepub const fn divisor_value(&self) -> DivisorValue
pub const fn divisor_value(&self) -> DivisorValue
Divisor (F/D) Value
Sourcepub const fn set_divisor_value(&mut self, val: DivisorValue)
pub const fn set_divisor_value(&mut self, val: DivisorValue)
Divisor (F/D) Value
Trait Implementations§
impl Copy for Divisor
impl Eq for Divisor
impl StructuralPartialEq for Divisor
Auto Trait Implementations§
impl Freeze for Divisor
impl RefUnwindSafe for Divisor
impl Send for Divisor
impl Sync for Divisor
impl Unpin for Divisor
impl UnwindSafe for Divisor
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