#[repr(C)]pub struct NV_GPU_CLOCK_FREQUENCIES_V1 {
pub version: u32,
pub reserved: u32,
pub domain: [NV_GPU_CLOCK_FREQUENCIES_DOMAIN; 32],
}Expand description
Used in NvAPI_GPU_GetAllClockFrequencies()
Fields§
§version: u32Structure version
reserved: u32These bits are reserved for future use.
bits:2 is NV_GPU_CLOCK_FREQUENCIES_CLOCK_TYPE. Used to specify the type of clock to be returned.
domain: [NV_GPU_CLOCK_FREQUENCIES_DOMAIN; 32]Implementations§
Source§impl NV_GPU_CLOCK_FREQUENCIES_V1
impl NV_GPU_CLOCK_FREQUENCIES_V1
pub fn ClockType(&self) -> NV_GPU_CLOCK_FREQUENCIES_CLOCK_TYPE
pub fn set_ClockType(&mut self, value: NV_GPU_CLOCK_FREQUENCIES_CLOCK_TYPE)
Trait Implementations§
Source§impl Clone for NV_GPU_CLOCK_FREQUENCIES_V1
impl Clone for NV_GPU_CLOCK_FREQUENCIES_V1
Source§fn clone(&self) -> NV_GPU_CLOCK_FREQUENCIES_V1
fn clone(&self) -> NV_GPU_CLOCK_FREQUENCIES_V1
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 NV_GPU_CLOCK_FREQUENCIES_V1
impl Debug for NV_GPU_CLOCK_FREQUENCIES_V1
impl Copy for NV_GPU_CLOCK_FREQUENCIES_V1
Auto Trait Implementations§
impl Freeze for NV_GPU_CLOCK_FREQUENCIES_V1
impl RefUnwindSafe for NV_GPU_CLOCK_FREQUENCIES_V1
impl Send for NV_GPU_CLOCK_FREQUENCIES_V1
impl Sync for NV_GPU_CLOCK_FREQUENCIES_V1
impl Unpin for NV_GPU_CLOCK_FREQUENCIES_V1
impl UnwindSafe for NV_GPU_CLOCK_FREQUENCIES_V1
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