pub struct drmModeConnector { /* private fields */ }Implementations§
Source§impl drmModeConnector
impl drmModeConnector
pub fn get_drm_mode_connector_properties( &self, fd: i32, ) -> Option<drmModeObjectProperties>
Source§impl drmModeConnector
impl drmModeConnector
pub fn get(fd: i32, connector_id: u32) -> Option<drmModeConnector>
pub fn get_current(fd: i32, connector_id: u32) -> Option<drmModeConnector>
pub fn set( fd: i32, connector_id: u32, property_id: u32, value: u64, ) -> Result<(), i32>
pub fn connection(&self) -> drmModeConnection
pub fn connector_type(&self) -> drmModeConnectorType
pub fn connector_id(&self) -> u32
pub fn connector_type_id(&self) -> u32
pub fn encoder_id(&self) -> u32
pub fn mmWidth(&self) -> u32
pub fn mmHeight(&self) -> u32
pub fn get_connector_props(&self, fd: i32) -> Option<drmModeObjectProperties>
pub fn get_modes(&self) -> Vec<_drmModeModeInfo>
Trait Implementations§
Source§impl Clone for drmModeConnector
impl Clone for drmModeConnector
Source§fn clone(&self) -> drmModeConnector
fn clone(&self) -> drmModeConnector
Returns a duplicate of the value. Read more
1.0.0 · Source§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 drmModeConnector
impl RefUnwindSafe for drmModeConnector
impl !Send for drmModeConnector
impl !Sync for drmModeConnector
impl Unpin for drmModeConnector
impl UnwindSafe for drmModeConnector
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