pub struct ClocksLevel {
pub clockspeed: i32,
pub voltage: i32,
}
Expand description
Represents a combination of a clockspeed and voltage. May be used in different context based on the table format.
Fields§
§clockspeed: i32
Clockspeed (in MHz)
voltage: i32
Voltage (in mV)
Implementations§
Trait Implementations§
Source§impl Clone for ClocksLevel
impl Clone for ClocksLevel
Source§fn clone(&self) -> ClocksLevel
fn clone(&self) -> ClocksLevel
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 ClocksLevel
impl Debug for ClocksLevel
Source§impl Hash for ClocksLevel
impl Hash for ClocksLevel
Source§impl PartialEq for ClocksLevel
impl PartialEq for ClocksLevel
impl Copy for ClocksLevel
impl Eq for ClocksLevel
impl StructuralPartialEq for ClocksLevel
Auto Trait Implementations§
impl Freeze for ClocksLevel
impl RefUnwindSafe for ClocksLevel
impl Send for ClocksLevel
impl Sync for ClocksLevel
impl Unpin for ClocksLevel
impl UnwindSafe for ClocksLevel
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