pub struct Clocks {
pub ahb1: bool,
pub apb1: bool,
pub apb2: bool,
}Expand description
The [clocks] section. Each field defaults to true (enabled) so that an
omitted field never produces a false “clock disabled” error.
Fields§
§ahb1: bool§apb1: bool§apb2: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Clocks
impl<'de> Deserialize<'de> for Clocks
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Clocks
impl RefUnwindSafe for Clocks
impl Send for Clocks
impl Sync for Clocks
impl Unpin for Clocks
impl UnsafeUnpin for Clocks
impl UnwindSafe for Clocks
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