Struct media_subsystem::sys::media_device_info
source · #[repr(C)]pub struct media_device_info {
pub driver: [c_char; 16],
pub model: [c_char; 32],
pub serial: [c_char; 40],
pub bus_info: [c_char; 32],
pub media_version: __u32,
pub hw_revision: __u32,
pub driver_version: __u32,
pub reserved: [__u32; 31],
}
Fields§
§driver: [c_char; 16]
§model: [c_char; 32]
§serial: [c_char; 40]
§bus_info: [c_char; 32]
§media_version: __u32
§hw_revision: __u32
§driver_version: __u32
§reserved: [__u32; 31]
Trait Implementations§
source§impl Clone for media_device_info
impl Clone for media_device_info
source§fn clone(&self) -> media_device_info
fn clone(&self) -> media_device_info
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 media_device_info
impl Debug for media_device_info
impl Copy for media_device_info
Auto Trait Implementations§
impl Freeze for media_device_info
impl RefUnwindSafe for media_device_info
impl Send for media_device_info
impl Sync for media_device_info
impl Unpin for media_device_info
impl UnwindSafe for media_device_info
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)