pub struct Info { /* private fields */ }Expand description
Information about a connector
Implementations§
source§impl Info
impl Info
sourcepub fn interface_id(&self) -> u32
pub fn interface_id(&self) -> u32
Returns the interface ID of this connector.
When multiple connectors have the same Interface, they will have
different interface IDs.
sourcepub fn size(&self) -> Option<(u32, u32)>
pub fn size(&self) -> Option<(u32, u32)>
Returns the size of the display (in millimeters) if connected.
sourcepub fn encoders(&self) -> &[Handle]
pub fn encoders(&self) -> &[Handle]
Returns a list of encoders that can be possibly used by this connector.
sourcepub fn current_encoder(&self) -> Option<Handle>
pub fn current_encoder(&self) -> Option<Handle>
Returns the current encoder attached to this connector.