Struct media_subsystem::MediaV2Interface
source · pub struct MediaV2Interface {
pub id: u32,
pub intf_type: MediaIntfT,
pub flags: u32,
pub devnode: MediaV2IntfDevnode,
}
Fields§
§id: u32
Unique ID for the interface. Do not expect that the ID will always be the same for each instance of the device. In other words, do not hardcode interface IDs in an application.
intf_type: MediaIntfT
§flags: u32
Currently unused.
devnode: MediaV2IntfDevnode
Used only for device node interfaces
Trait Implementations§
source§impl Debug for MediaV2Interface
impl Debug for MediaV2Interface
source§impl From<&media_v2_interface> for MediaV2Interface
impl From<&media_v2_interface> for MediaV2Interface
source§fn from(v: &media_v2_interface) -> Self
fn from(v: &media_v2_interface) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MediaV2Interface
impl RefUnwindSafe for MediaV2Interface
impl Send for MediaV2Interface
impl Sync for MediaV2Interface
impl Unpin for MediaV2Interface
impl UnwindSafe for MediaV2Interface
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