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