pub struct WorkloadPowerProfileInfo {
pub profile_id: u32,
pub priority: u32,
pub conflicting_profiles: Vec<u32>,
}Fields§
§profile_id: u32§priority: u32§conflicting_profiles: Vec<u32>Trait Implementations§
Source§impl Clone for WorkloadPowerProfileInfo
impl Clone for WorkloadPowerProfileInfo
Source§fn clone(&self) -> WorkloadPowerProfileInfo
fn clone(&self) -> WorkloadPowerProfileInfo
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 moreSource§impl Debug for WorkloadPowerProfileInfo
impl Debug for WorkloadPowerProfileInfo
Source§impl From<nvmlWorkloadPowerProfileInfo_v1_t> for WorkloadPowerProfileInfo
impl From<nvmlWorkloadPowerProfileInfo_v1_t> for WorkloadPowerProfileInfo
Source§fn from(value: nvmlWorkloadPowerProfileInfo_t) -> Self
fn from(value: nvmlWorkloadPowerProfileInfo_t) -> Self
Converts to this type from the input type.
Source§impl Hash for WorkloadPowerProfileInfo
impl Hash for WorkloadPowerProfileInfo
Source§impl PartialEq for WorkloadPowerProfileInfo
impl PartialEq for WorkloadPowerProfileInfo
Source§fn eq(&self, other: &WorkloadPowerProfileInfo) -> bool
fn eq(&self, other: &WorkloadPowerProfileInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WorkloadPowerProfileInfo
impl StructuralPartialEq for WorkloadPowerProfileInfo
Auto Trait Implementations§
impl Freeze for WorkloadPowerProfileInfo
impl RefUnwindSafe for WorkloadPowerProfileInfo
impl Send for WorkloadPowerProfileInfo
impl Sync for WorkloadPowerProfileInfo
impl Unpin for WorkloadPowerProfileInfo
impl UnsafeUnpin for WorkloadPowerProfileInfo
impl UnwindSafe for WorkloadPowerProfileInfo
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