Struct drm::control::connector::Info [−][src]
pub struct Info { /* fields omitted */ }Information about a connector
Implementations
impl Info[src]
impl Info[src]pub fn handle(&self) -> Handle[src]
Returns the handle to this connector.
pub fn interface(&self) -> Interface[src]
Returns the type of Interface of this connector.
pub fn interface_id(&self) -> u32[src]
Returns the interface ID of this connector.
When multiple connectors have the same Interface, they will have
different interface IDs.
pub fn state(&self) -> State[src]
Returns the State of this connector.
pub fn size(&self) -> Option<(u32, u32)>[src]
Returns the size of the display (in millimeters) if connected.
pub fn encoders(&self) -> &[Option<Handle>][src]
Returns a list of encoders that can be possibly used by this connector.
pub fn modes(&self) -> &[Mode][src]
Returns a list of modes this connector reports as supported.
pub fn current_encoder(&self) -> Option<Handle>[src]
Returns the current encoder attached to this connector.
Trait Implementations
impl StructuralEq for Info[src]
impl StructuralEq for Info[src]impl StructuralPartialEq for Info[src]
impl StructuralPartialEq for Info[src]Auto Trait Implementations
impl RefUnwindSafe for Info
impl RefUnwindSafe for Infoimpl UnwindSafe for Info
impl UnwindSafe for Info