pub struct DrmNode { /* private fields */ }
Implementations§
Source§impl DrmNode
impl DrmNode
pub fn from_device_name(device_name: &str) -> Result<DrmNode, Box<dyn Error>>
pub fn device_dir_exists(&self) -> bool
pub fn get_device_path(&self) -> PathBuf
pub fn get_subsystem_path(&self) -> PathBuf
Auto Trait Implementations§
impl Freeze for DrmNode
impl RefUnwindSafe for DrmNode
impl Send for DrmNode
impl Sync for DrmNode
impl Unpin for DrmNode
impl UnwindSafe for DrmNode
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