#[repr(u32)]pub enum drmModeConnection {
DRM_MODE_CONNECTED = 1,
DRM_MODE_DISCONNECTED = 2,
DRM_MODE_UNKNOWNCONNECTION = 3,
}
Variants§
Trait Implementations§
source§impl Clone for drmModeConnection
impl Clone for drmModeConnection
source§fn clone(&self) -> drmModeConnection
fn clone(&self) -> drmModeConnection
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 drmModeConnection
impl Debug for drmModeConnection
source§impl Display for drmModeConnection
impl Display for drmModeConnection
source§impl From<u32> for drmModeConnection
impl From<u32> for drmModeConnection
source§impl PartialEq for drmModeConnection
impl PartialEq for drmModeConnection
source§fn eq(&self, other: &drmModeConnection) -> bool
fn eq(&self, other: &drmModeConnection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for drmModeConnection
impl PartialOrd for drmModeConnection
source§fn partial_cmp(&self, other: &drmModeConnection) -> Option<Ordering>
fn partial_cmp(&self, other: &drmModeConnection) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for drmModeConnection
impl Eq for drmModeConnection
impl StructuralPartialEq for drmModeConnection
Auto Trait Implementations§
impl Freeze for drmModeConnection
impl RefUnwindSafe for drmModeConnection
impl Send for drmModeConnection
impl Sync for drmModeConnection
impl Unpin for drmModeConnection
impl UnwindSafe for drmModeConnection
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