Struct linux_drm::ioctl::DrmVersion
source · #[repr(C)]pub struct DrmVersion {
pub version_major: c_int,
pub version_minor: c_int,
pub version_patchlevel: c_int,
pub name_len: usize,
pub name: *mut i8,
pub date_len: usize,
pub date: *mut i8,
pub desc_len: usize,
pub desc: *mut i8,
}
Fields§
§version_major: c_int
§version_minor: c_int
§version_patchlevel: c_int
§name_len: usize
§name: *mut i8
§date_len: usize
§date: *mut i8
§desc_len: usize
§desc: *mut i8
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 moresource§impl Debug for DrmVersion
impl Debug for DrmVersion
source§impl Default for DrmVersion
impl Default for DrmVersion
The default value is the result of Self::zeroed
.
impl Copy for DrmVersion
Auto 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)