Struct media_subsystem::media_v2_topology
source · #[repr(C, packed(1))]pub struct media_v2_topology {
pub num_entities: u32,
pub num_interfaces: u32,
pub num_links: u32,
pub ptr_links: u64,
/* private fields */
}
Expand description
https://docs.kernel.org/userspace-api/media/mediactl/media-ioc-g-topology.html
Fields§
§num_entities: u32
§num_interfaces: u32
§num_links: 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_interfaces(&mut self, arr: &mut Vec<media_v2_interface>)
Trait Implementations§
source§impl Debug for media_v2_topology
impl Debug 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