pub struct CpuConfiguration {
pub frequency: usize,
}
Fields§
§frequency: usize
Implementations§
Source§impl CpuConfiguration
impl CpuConfiguration
pub const DEFAULT_FREQUENCY: usize = 64usize
Trait Implementations§
Source§impl Clone for CpuConfiguration
impl Clone for CpuConfiguration
Source§fn clone(&self) -> CpuConfiguration
fn clone(&self) -> CpuConfiguration
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 moreSource§impl Debug for CpuConfiguration
impl Debug for CpuConfiguration
impl Copy for CpuConfiguration
Auto Trait Implementations§
impl Freeze for CpuConfiguration
impl RefUnwindSafe for CpuConfiguration
impl Send for CpuConfiguration
impl Sync for CpuConfiguration
impl Unpin for CpuConfiguration
impl UnwindSafe for CpuConfiguration
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