pub struct TrackGroup {
pub owner_track_index: usize,
pub owner_track_id: Option<String>,
pub kind: TrackKind,
pub partner_track_indices: Vec<usize>,
pub partner_track_ids: Vec<Option<String>>,
}Expand description
One track group: an owner with its partners in slot order. A track in no group is reported as a group of one. Hosts use this to draw or collapse a group as one unit.
Fields§
§owner_track_index: usizeIndex of the owner track (the video track of a video group, the main track of an audio group).
owner_track_id: Option<String>Id of the owner track, when it has one.
kind: TrackKindKind of the owner: Video for a video group, Audio for an audio group.
partner_track_indices: Vec<usize>Partner track indices in slot order (first partner right below the owner once normalized).
partner_track_ids: Vec<Option<String>>Partner track ids in slot order.
Trait Implementations§
Source§impl Clone for TrackGroup
impl Clone for TrackGroup
Source§impl Debug for TrackGroup
impl Debug for TrackGroup
Source§impl PartialEq for TrackGroup
impl PartialEq for TrackGroup
impl StructuralPartialEq for TrackGroup
Auto Trait Implementations§
impl Freeze for TrackGroup
impl RefUnwindSafe for TrackGroup
impl Send for TrackGroup
impl Sync for TrackGroup
impl Unpin for TrackGroup
impl UnsafeUnpin for TrackGroup
impl UnwindSafe for TrackGroup
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