#[repr(C)]pub struct GpaDeviceClockModeInfoAmd {
pub s_type: StructureType,
pub p_next: *const c_void,
pub clock_mode: GpaDeviceClockModeAmd,
pub memory_clock_ratio_to_peak: f32,
pub engine_clock_ratio_to_peak: f32,
}
Fields§
§s_type: StructureType
§p_next: *const c_void
§clock_mode: GpaDeviceClockModeAmd
§memory_clock_ratio_to_peak: f32
§engine_clock_ratio_to_peak: f32
Trait Implementations§
Source§impl Clone for GpaDeviceClockModeInfoAmd
impl Clone for GpaDeviceClockModeInfoAmd
Source§fn clone(&self) -> GpaDeviceClockModeInfoAmd
fn clone(&self) -> GpaDeviceClockModeInfoAmd
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 GpaDeviceClockModeInfoAmd
impl Debug for GpaDeviceClockModeInfoAmd
impl Copy for GpaDeviceClockModeInfoAmd
Auto Trait Implementations§
impl Freeze for GpaDeviceClockModeInfoAmd
impl RefUnwindSafe for GpaDeviceClockModeInfoAmd
impl !Send for GpaDeviceClockModeInfoAmd
impl !Sync for GpaDeviceClockModeInfoAmd
impl Unpin for GpaDeviceClockModeInfoAmd
impl UnwindSafe for GpaDeviceClockModeInfoAmd
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)