pub struct MediaV2Interface {
pub id: InterfaceId,
pub intf_type: MediaIntfT,
pub flags: u32,
pub devnode: media_v2_intf_devnode,
}
Fields§
§id: InterfaceId
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: media_v2_intf_devnode
Used only for device node interfaces
Trait Implementations§
Source§impl Clone for MediaV2Interface
impl Clone for MediaV2Interface
Source§fn clone(&self) -> MediaV2Interface
fn clone(&self) -> MediaV2Interface
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 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