#[repr(transparent)]pub struct DrmConnectorType(pub u32);Expand description
specific the type of connector is HDMI-A, DVI, DisplayPort, etc.
The value the library reports (DRM_MODE_CONNECTOR_*), which may be
one this declaration does not name, as the enumeration of the reference
holds any number: a number with the known values as constants.
Tuple Fields§
§0: u32Implementations§
Source§impl DrmConnectorType
impl DrmConnectorType
pub const NONE: Self
pub const VGA: Self
pub const DVI_I: Self
pub const DVI_D: Self
pub const DVI_A: Self
pub const COMPOSITE: Self
pub const S_VIDEO: Self
pub const LVDS: Self
pub const COMPONENT: Self
pub const DIN: Self
pub const DISPLAY_PORT: Self
pub const HDMI_A: Self
pub const HDMI_B: Self
pub const TV: Self
pub const E_DP: Self
pub const VIRTUAL: Self
pub const DSI: Self
Trait Implementations§
Source§impl Clone for DrmConnectorType
impl Clone for DrmConnectorType
impl Copy for DrmConnectorType
Source§impl Debug for DrmConnectorType
impl Debug for DrmConnectorType
Source§impl Default for DrmConnectorType
impl Default for DrmConnectorType
impl Eq for DrmConnectorType
Source§impl Hash for DrmConnectorType
impl Hash for DrmConnectorType
Source§impl PartialEq for DrmConnectorType
impl PartialEq for DrmConnectorType
impl StructuralPartialEq for DrmConnectorType
Auto Trait Implementations§
impl Freeze for DrmConnectorType
impl RefUnwindSafe for DrmConnectorType
impl Send for DrmConnectorType
impl Sync for DrmConnectorType
impl Unpin for DrmConnectorType
impl UnsafeUnpin for DrmConnectorType
impl UnwindSafe for DrmConnectorType
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more