Enum linux_drm::modeset::ConnectorType
source · #[repr(u32)]pub enum ConnectorType {
Show 22 variants
Unknown = 0,
Vga = 1,
DviI = 2,
DviD = 3,
DviA = 4,
Composite = 5,
SVideo = 6,
Lvds = 7,
Component = 8,
NinePinDin = 9,
DisplayPort = 10,
HdmiA = 11,
HdmiB = 12,
Tv = 13,
Edp = 14,
Virtual = 15,
Dsi = 16,
Dpi = 17,
Writeback = 18,
Spi = 19,
Usb = 20,
Other = 4_294_967_295,
}
Variants§
Unknown = 0
Vga = 1
DviI = 2
DviD = 3
DviA = 4
Composite = 5
SVideo = 6
Lvds = 7
Component = 8
NinePinDin = 9
DisplayPort = 10
HdmiA = 11
HdmiB = 12
Tv = 13
Edp = 14
Virtual = 15
Dsi = 16
Dpi = 17
Writeback = 18
Spi = 19
Usb = 20
Other = 4_294_967_295
Trait Implementations§
source§impl Clone for ConnectorType
impl Clone for ConnectorType
source§fn clone(&self) -> ConnectorType
fn clone(&self) -> ConnectorType
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 ConnectorType
impl Debug for ConnectorType
source§impl From<u32> for ConnectorType
impl From<u32> for ConnectorType
source§impl PartialEq for ConnectorType
impl PartialEq for ConnectorType
source§fn eq(&self, other: &ConnectorType) -> bool
fn eq(&self, other: &ConnectorType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ConnectorType
impl Eq for ConnectorType
impl StructuralPartialEq for ConnectorType
Auto Trait Implementations§
impl Freeze for ConnectorType
impl RefUnwindSafe for ConnectorType
impl Send for ConnectorType
impl Sync for ConnectorType
impl Unpin for ConnectorType
impl UnwindSafe for ConnectorType
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
)