#[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 duplicate 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
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