Struct media_subsystem::MediaDeviceInfo
source · #[repr(C, packed(1))]pub struct MediaDeviceInfo { /* private fields */ }
Expand description
https://kernel.org/doc/html/v6.2/userspace-api/media/mediactl/media-ioc-device-info.html
Implementations§
source§impl MediaDeviceInfo
impl MediaDeviceInfo
pub fn get_driver(&self) -> &str
pub fn get_device(&self) -> &str
Trait Implementations§
source§impl Debug for MediaDeviceInfo
impl Debug for MediaDeviceInfo
Auto Trait Implementations§
impl Freeze for MediaDeviceInfo
impl RefUnwindSafe for MediaDeviceInfo
impl Send for MediaDeviceInfo
impl Sync for MediaDeviceInfo
impl Unpin for MediaDeviceInfo
impl UnwindSafe for MediaDeviceInfo
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