Struct amdgpu_sysfs::gpu_handle::overdrive::ClocksLevel
source · 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: i32Clockspeed (in MHz)
voltage: i32Voltage (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 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 ClocksLevel
impl Debug for ClocksLevel
source§impl PartialEq for ClocksLevel
impl PartialEq for ClocksLevel
source§fn eq(&self, other: &ClocksLevel) -> bool
fn eq(&self, other: &ClocksLevel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ClocksLevel
impl Eq for ClocksLevel
impl StructuralEq for ClocksLevel
impl StructuralPartialEq for ClocksLevel
Auto Trait Implementations§
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