#[non_exhaustive]pub struct DrmDisplayHandle {
pub fd: i32,
}
Expand description
Raw display handle for the Linux Kernel Mode Set/Direct Rendering Manager.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.fd: i32
The drm file descriptor.
Implementations§
Trait Implementations§
Source§impl Clone for DrmDisplayHandle
impl Clone for DrmDisplayHandle
Source§fn clone(&self) -> DrmDisplayHandle
fn clone(&self) -> DrmDisplayHandle
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 DrmDisplayHandle
impl Debug for DrmDisplayHandle
Source§impl From<DrmDisplayHandle> for RawDisplayHandle
impl From<DrmDisplayHandle> for RawDisplayHandle
Source§fn from(value: DrmDisplayHandle) -> Self
fn from(value: DrmDisplayHandle) -> Self
Converts to this type from the input type.
Source§impl Hash for DrmDisplayHandle
impl Hash for DrmDisplayHandle
Source§impl PartialEq for DrmDisplayHandle
impl PartialEq for DrmDisplayHandle
impl Copy for DrmDisplayHandle
impl Eq for DrmDisplayHandle
impl StructuralPartialEq for DrmDisplayHandle
Auto Trait Implementations§
impl Freeze for DrmDisplayHandle
impl RefUnwindSafe for DrmDisplayHandle
impl Send for DrmDisplayHandle
impl Sync for DrmDisplayHandle
impl Unpin for DrmDisplayHandle
impl UnwindSafe for DrmDisplayHandle
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
)