Struct media_subsystem::sys::media_v2_entity
source · #[repr(C, packed(1))]pub struct media_v2_entity {
pub id: __u32,
pub name: [c_char; 64],
pub function: __u32,
pub flags: __u32,
pub reserved: [__u32; 5],
}
Fields§
§id: __u32
§name: [c_char; 64]
§function: __u32
§flags: __u32
§reserved: [__u32; 5]
Trait Implementations§
source§impl Clone for media_v2_entity
impl Clone for media_v2_entity
source§fn clone(&self) -> media_v2_entity
fn clone(&self) -> media_v2_entity
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_v2_entity
impl Debug for media_v2_entity
source§impl From<media_v2_entity> for MediaV2Entity
impl From<media_v2_entity> for MediaV2Entity
source§fn from(v: media_v2_entity) -> Self
fn from(v: media_v2_entity) -> Self
Converts to this type from the input type.
impl Copy for media_v2_entity
Auto Trait Implementations§
impl Freeze for media_v2_entity
impl RefUnwindSafe for media_v2_entity
impl Send for media_v2_entity
impl Sync for media_v2_entity
impl Unpin for media_v2_entity
impl UnwindSafe for media_v2_entity
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
)