Struct libdrm_amdgpu_sys::drmVersion
source · pub struct drmVersion {
pub version_major: i32,
pub version_minor: i32,
pub version_patchlevel: i32,
pub name: String,
pub date: String,
pub desc: String,
}
Fields§
§version_major: i32
§version_minor: i32
§version_patchlevel: i32
§name: String
§date: String
§desc: String
Implementations§
source§impl drmVersion
impl drmVersion
Trait Implementations§
source§impl Clone for drmVersion
impl Clone for drmVersion
source§fn clone(&self) -> drmVersion
fn clone(&self) -> drmVersion
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 moreAuto Trait Implementations§
impl Freeze for drmVersion
impl RefUnwindSafe for drmVersion
impl Send for drmVersion
impl Sync for drmVersion
impl Unpin for drmVersion
impl UnwindSafe for drmVersion
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