Struct libdrm_amdgpu_sys::AMDGPU::GfxTargetVersion
source · pub struct GfxTargetVersion {
pub major: u32,
pub minor: u32,
pub stepping: u32,
}Fields§
§major: u32§minor: u32§stepping: u32Implementations§
source§impl GfxTargetVersion
impl GfxTargetVersion
pub fn to_single_value(&self) -> u32
Trait Implementations§
source§impl Clone for GfxTargetVersion
impl Clone for GfxTargetVersion
source§fn clone(&self) -> GfxTargetVersion
fn clone(&self) -> GfxTargetVersion
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 GfxTargetVersion
impl Debug for GfxTargetVersion
source§impl Display for GfxTargetVersion
impl Display for GfxTargetVersion
source§impl PartialEq for GfxTargetVersion
impl PartialEq for GfxTargetVersion
source§fn eq(&self, other: &GfxTargetVersion) -> bool
fn eq(&self, other: &GfxTargetVersion) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for GfxTargetVersion
impl StructuralPartialEq for GfxTargetVersion
Auto Trait Implementations§
impl Freeze for GfxTargetVersion
impl RefUnwindSafe for GfxTargetVersion
impl Send for GfxTargetVersion
impl Sync for GfxTargetVersion
impl Unpin for GfxTargetVersion
impl UnwindSafe for GfxTargetVersion
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