Struct raw_window_handle::DrmDisplayHandle
source · [−]#[non_exhaustive]pub struct DrmDisplayHandle {
pub fd: i32,
}
Expand description
Raw display handle for the Linux Kernel Mode Set/Direct Rendering Manager.
Construction
let display_handle = DrmDisplayHandle::empty();
/* set fields */
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
sourceimpl Clone for DrmDisplayHandle
impl Clone for DrmDisplayHandle
sourcefn clone(&self) -> DrmDisplayHandle
fn clone(&self) -> DrmDisplayHandle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DrmDisplayHandle
impl Debug for DrmDisplayHandle
sourceimpl Hash for DrmDisplayHandle
impl Hash for DrmDisplayHandle
sourceimpl PartialEq<DrmDisplayHandle> for DrmDisplayHandle
impl PartialEq<DrmDisplayHandle> for DrmDisplayHandle
sourcefn eq(&self, other: &DrmDisplayHandle) -> bool
fn eq(&self, other: &DrmDisplayHandle) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DrmDisplayHandle) -> bool
fn ne(&self, other: &DrmDisplayHandle) -> bool
This method tests for !=
.
impl Copy for DrmDisplayHandle
impl Eq for DrmDisplayHandle
impl StructuralEq for DrmDisplayHandle
impl StructuralPartialEq for DrmDisplayHandle
Auto Trait Implementations
impl RefUnwindSafe for DrmDisplayHandle
impl Send for DrmDisplayHandle
impl Sync for DrmDisplayHandle
impl Unpin for DrmDisplayHandle
impl UnwindSafe for DrmDisplayHandle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more