pub struct ClockConfig {
pub div: u18,
pub frac: u6,
pub baud_mode: BaudMode,
}Fields§
§div: u18Integer divisor.
frac: u6Fractional divide value in 1/64 units.
baud_mode: BaudModeImplementations§
Trait Implementations§
Source§impl Clone for ClockConfig
impl Clone for ClockConfig
Source§fn clone(&self) -> ClockConfig
fn clone(&self) -> ClockConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClockConfig
impl Debug for ClockConfig
Source§impl Format for ClockConfig
impl Format for ClockConfig
Source§impl PartialEq for ClockConfig
impl PartialEq for ClockConfig
Source§fn eq(&self, other: &ClockConfig) -> bool
fn eq(&self, other: &ClockConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ClockConfig
impl Eq for ClockConfig
impl StructuralPartialEq for ClockConfig
Auto Trait Implementations§
impl Freeze for ClockConfig
impl RefUnwindSafe for ClockConfig
impl Send for ClockConfig
impl Sync for ClockConfig
impl Unpin for ClockConfig
impl UnsafeUnpin for ClockConfig
impl UnwindSafe for ClockConfig
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