Struct libamdgpu_top::drmModeConnector
source · pub struct drmModeConnector(/* private fields */);Implementations§
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>
Trait Implementations§
source§impl Clone for drmModeConnector
impl Clone for drmModeConnector
source§fn clone(&self) -> drmModeConnector
fn clone(&self) -> drmModeConnector
Returns a copy 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 moresource§impl Debug for drmModeConnector
impl Debug for drmModeConnector
Auto Trait Implementations§
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