Struct PeripheralRccMux
pub struct PeripheralRccMux {
pub clock: Option<&'static str>,
pub register: Option<&'static str>,
pub field: Option<&'static str>,
pub prescaler: Option<PeripheralRccRegister>,
}Expand description
One struct covers a plain mux, a mux with a prescaler, and a prescaler over a
parent clock (no mux). Invariant: exactly one of clock / (register + field)
is set; prescaler is optional on top.
Fields§
§clock: Option<&'static str>§register: Option<&'static str>§field: Option<&'static str>§prescaler: Option<PeripheralRccRegister>Trait Implementations§
§impl Clone for PeripheralRccMux
impl Clone for PeripheralRccMux
§fn clone(&self) -> PeripheralRccMux
fn clone(&self) -> PeripheralRccMux
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 more§impl Debug for PeripheralRccMux
impl Debug for PeripheralRccMux
impl Eq for PeripheralRccMux
§impl PartialEq for PeripheralRccMux
impl PartialEq for PeripheralRccMux
impl StructuralPartialEq for PeripheralRccMux
Auto Trait Implementations§
impl Freeze for PeripheralRccMux
impl RefUnwindSafe for PeripheralRccMux
impl Send for PeripheralRccMux
impl Sync for PeripheralRccMux
impl Unpin for PeripheralRccMux
impl UnsafeUnpin for PeripheralRccMux
impl UnwindSafe for PeripheralRccMux
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