Struct drm_sys::drm_version
source · #[repr(C)]pub struct drm_version {
pub version_major: c_int,
pub version_minor: c_int,
pub version_patchlevel: c_int,
pub name_len: __kernel_size_t,
pub name: *mut c_char,
pub date_len: __kernel_size_t,
pub date: *mut c_char,
pub desc_len: __kernel_size_t,
pub desc: *mut c_char,
}
Fields§
§version_major: c_int
§version_minor: c_int
§version_patchlevel: c_int
§name_len: __kernel_size_t
§name: *mut c_char
§date_len: __kernel_size_t
§date: *mut c_char
§desc_len: __kernel_size_t
§desc: *mut c_char
Trait Implementations§
source§impl Clone for drm_version
impl Clone for drm_version
source§fn clone(&self) -> drm_version
fn clone(&self) -> drm_version
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 drm_version
impl Debug for drm_version
source§impl Default for drm_version
impl Default for drm_version
source§impl Hash for drm_version
impl Hash for drm_version
source§impl PartialEq for drm_version
impl PartialEq for drm_version
impl Copy for drm_version
impl Eq for drm_version
impl StructuralPartialEq for drm_version
Auto Trait Implementations§
impl Freeze for drm_version
impl RefUnwindSafe for drm_version
impl !Send for drm_version
impl !Sync for drm_version
impl Unpin for drm_version
impl UnwindSafe for drm_version
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
)