pub struct DrmConnector { /* private fields */ }Expand description
A connector of a card, as it was when the resources were read.
Implementations§
Source§impl DrmConnector
impl DrmConnector
pub fn connection(&self) -> DrmModeConnection
pub fn id(&self) -> u32
pub fn name(&self) -> &str
pub fn size_mm(&self) -> Size
pub fn sub_pixel(&self) -> DrmModeSubPixel
pub fn modes(&self) -> &[DrmModeInfo]
pub fn connector_type(&self) -> DrmConnectorType
pub fn connector_type_id(&self) -> u32
Trait Implementations§
Source§impl Clone for DrmConnector
impl Clone for DrmConnector
Auto Trait Implementations§
impl Freeze for DrmConnector
impl RefUnwindSafe for DrmConnector
impl Send for DrmConnector
impl Sync for DrmConnector
impl Unpin for DrmConnector
impl UnsafeUnpin for DrmConnector
impl UnwindSafe for DrmConnector
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> 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