#[repr(C, packed(1))]pub struct media_v2_topology {Show 13 fields
pub topology_version: __u64,
pub num_entities: __u32,
pub reserved1: __u32,
pub ptr_entities: __u64,
pub num_interfaces: __u32,
pub reserved2: __u32,
pub ptr_interfaces: __u64,
pub num_pads: __u32,
pub reserved3: __u32,
pub ptr_pads: __u64,
pub num_links: __u32,
pub reserved4: __u32,
pub ptr_links: __u64,
}
Fields§
§topology_version: __u64
§num_entities: __u32
§reserved1: __u32
§ptr_entities: __u64
§num_interfaces: __u32
§reserved2: __u32
§ptr_interfaces: __u64
§num_pads: __u32
§reserved3: __u32
§ptr_pads: __u64
§num_links: __u32
§reserved4: __u32
§ptr_links: __u64
Implementations§
Source§impl media_v2_topology
impl media_v2_topology
pub fn set_entities(&mut self, entities: &mut Vec<media_v2_entity>)
pub fn set_links(&mut self, links: &mut Vec<media_v2_link>)
pub fn set_interfaces(&mut self, arr: &mut Vec<media_v2_interface>)
pub fn set_pads(&mut self, arr: &mut Vec<media_v2_pad>)
Trait Implementations§
Source§impl Clone for media_v2_topology
impl Clone for media_v2_topology
Source§fn clone(&self) -> media_v2_topology
fn clone(&self) -> media_v2_topology
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_topology
impl Debug for media_v2_topology
impl Copy for media_v2_topology
Auto Trait Implementations§
impl Freeze for media_v2_topology
impl RefUnwindSafe for media_v2_topology
impl Send for media_v2_topology
impl Sync for media_v2_topology
impl Unpin for media_v2_topology
impl UnwindSafe for media_v2_topology
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