pub struct DrmConnector {
pub connector_id: u32,
pub connector_type: ConnectorType,
pub status: ConnectorStatus,
pub encoder_id: Option<u32>,
pub modes: Vec<DisplayMode>,
}Expand description
DRM connector
Fields§
§connector_id: u32§connector_type: ConnectorType§status: ConnectorStatus§encoder_id: Option<u32>Bound encoder ID
modes: Vec<DisplayMode>Supported display modes
Implementations§
Source§impl DrmConnector
impl DrmConnector
pub fn new(connector_id: u32, connector_type: ConnectorType) -> Self
Trait Implementations§
Source§impl Clone for DrmConnector
impl Clone for DrmConnector
Source§fn clone(&self) -> DrmConnector
fn clone(&self) -> DrmConnector
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DrmConnector
impl RefUnwindSafe for DrmConnector
impl Send for DrmConnector
impl Sync for DrmConnector
impl Unpin for DrmConnector
impl UnwindSafe for DrmConnector
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)