#[repr(transparent)]pub struct DrmModeSubPixel(pub u32);Expand description
The order of the subpixels of a connector (drmModeSubPixel).
Tuple Fields§
§0: u32Implementations§
Source§impl DrmModeSubPixel
impl DrmModeSubPixel
pub const DRM_MODE_SUBPIXEL_UNKNOWN: Self
pub const DRM_MODE_SUBPIXEL_HORIZONTAL_RGB: Self
pub const DRM_MODE_SUBPIXEL_HORIZONTAL_BGR: Self
pub const DRM_MODE_SUBPIXEL_VERTICAL_RGB: Self
pub const DRM_MODE_SUBPIXEL_VERTICAL_BGR: Self
pub const DRM_MODE_SUBPIXEL_NONE: Self
Trait Implementations§
Source§impl Clone for DrmModeSubPixel
impl Clone for DrmModeSubPixel
impl Copy for DrmModeSubPixel
Source§impl Debug for DrmModeSubPixel
impl Debug for DrmModeSubPixel
Source§impl Default for DrmModeSubPixel
impl Default for DrmModeSubPixel
impl Eq for DrmModeSubPixel
Source§impl Hash for DrmModeSubPixel
impl Hash for DrmModeSubPixel
Source§impl PartialEq for DrmModeSubPixel
impl PartialEq for DrmModeSubPixel
impl StructuralPartialEq for DrmModeSubPixel
Auto Trait Implementations§
impl Freeze for DrmModeSubPixel
impl RefUnwindSafe for DrmModeSubPixel
impl Send for DrmModeSubPixel
impl Sync for DrmModeSubPixel
impl Unpin for DrmModeSubPixel
impl UnsafeUnpin for DrmModeSubPixel
impl UnwindSafe for DrmModeSubPixel
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