#[repr(C)]pub struct drm_version {
pub version_major: c_int,
pub version_minor: c_int,
pub version_patchlevel: c_int,
pub name_len: size_t,
pub name: *mut c_char,
pub date_len: size_t,
pub date: *mut c_char,
pub desc_len: size_t,
pub desc: *mut c_char,
}Expand description
struct drm_version of the kernel: the driver of a card.
Fields§
§version_major: c_int§version_minor: c_int§version_patchlevel: c_int§name_len: size_t§name: *mut c_char§date_len: size_t§date: *mut c_char§desc_len: size_t§desc: *mut c_charTrait Implementations§
Source§impl Clone for drm_version
impl Clone for drm_version
impl Copy for drm_version
Auto Trait Implementations§
impl !Send for drm_version
impl !Sync for drm_version
impl Freeze for drm_version
impl RefUnwindSafe for drm_version
impl Unpin for drm_version
impl UnsafeUnpin 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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more