pub struct drmModeRes { /* private fields */ }Implementations§
Source§impl drmModeRes
impl drmModeRes
pub fn get_drm_mode_all_connector_current( &self, fd: i32, ) -> Vec<drmModeConnector>
pub fn get_drm_mode_all_connector(&self, fd: i32) -> Vec<drmModeConnector>
pub fn get_drm_mode_all_crtcs(&self, fd: i32) -> Vec<_drmModeCrtc>
Source§impl drmModeRes
impl drmModeRes
pub fn get(fd: i32) -> Option<drmModeRes>
pub fn get_all_connector_current(&self, fd: i32) -> Vec<drmModeConnector>
pub fn get_all_connector(&self, fd: i32) -> Vec<drmModeConnector>
pub fn get_all_crtcs(&self, fd: i32) -> Vec<_drmModeCrtc>
Trait Implementations§
Source§impl Clone for drmModeRes
impl Clone for drmModeRes
Source§fn clone(&self) -> drmModeRes
fn clone(&self) -> drmModeRes
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 drmModeRes
impl RefUnwindSafe for drmModeRes
impl !Send for drmModeRes
impl !Sync for drmModeRes
impl Unpin for drmModeRes
impl UnwindSafe for drmModeRes
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