pub struct SystemConfig {
pub cpu_freq_mhz: u32,
pub ram_size: usize,
pub flash_size: usize,
pub power_mode: PowerMode,
pub debug_enabled: bool,
}Expand description
System configuration
Fields§
§cpu_freq_mhz: u32CPU frequency in MHz
ram_size: usizeRAM size in bytes
flash_size: usizeFlash size in bytes
power_mode: PowerModeDefault power mode
debug_enabled: boolEnable debug logging
Implementations§
Source§impl SystemConfig
impl SystemConfig
Trait Implementations§
Source§impl Clone for SystemConfig
impl Clone for SystemConfig
Source§fn clone(&self) -> SystemConfig
fn clone(&self) -> SystemConfig
Returns a duplicate 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 moreSource§impl Debug for SystemConfig
impl Debug for SystemConfig
Source§impl Default for SystemConfig
impl Default for SystemConfig
impl Copy for SystemConfig
Auto Trait Implementations§
impl Freeze for SystemConfig
impl RefUnwindSafe for SystemConfig
impl Send for SystemConfig
impl Sync for SystemConfig
impl Unpin for SystemConfig
impl UnsafeUnpin for SystemConfig
impl UnwindSafe for SystemConfig
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