Struct stm32_metapac::metadata::PeripheralRcc
pub struct PeripheralRcc {
pub clock: &'static str,
pub enable: Option<PeripheralRccRegister>,
pub reset: Option<PeripheralRccRegister>,
pub mux: Option<PeripheralRccRegister>,
pub stop_mode: StopMode,
}
Fields§
§clock: &'static str
§enable: Option<PeripheralRccRegister>
§reset: Option<PeripheralRccRegister>
§mux: Option<PeripheralRccRegister>
§stop_mode: StopMode
Trait Implementations§
§impl Clone for PeripheralRcc
impl Clone for PeripheralRcc
§fn clone(&self) -> PeripheralRcc
fn clone(&self) -> PeripheralRcc
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 Debug for PeripheralRcc
impl Debug for PeripheralRcc
§impl PartialEq for PeripheralRcc
impl PartialEq for PeripheralRcc
§fn eq(&self, other: &PeripheralRcc) -> bool
fn eq(&self, other: &PeripheralRcc) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PeripheralRcc
impl StructuralEq for PeripheralRcc
impl StructuralPartialEq for PeripheralRcc
Auto Trait Implementations§
impl RefUnwindSafe for PeripheralRcc
impl Send for PeripheralRcc
impl Sync for PeripheralRcc
impl Unpin for PeripheralRcc
impl UnwindSafe for PeripheralRcc
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