pub struct CpuConfiguration {
pub frequency: usize,
}Fields§
§frequency: usizeImplementations§
Source§impl CpuConfiguration
impl CpuConfiguration
pub const DEFAULT_FREQUENCY: usize = 64
Trait Implementations§
Source§impl Clone for CpuConfiguration
impl Clone for CpuConfiguration
Source§fn clone(&self) -> CpuConfiguration
fn clone(&self) -> CpuConfiguration
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 moreimpl Copy for CpuConfiguration
Source§impl Debug for CpuConfiguration
impl Debug 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 UnsafeUnpin 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