pub struct Broadcast { /* private fields */ }Expand description
Implementations§
Source§impl Broadcast
impl Broadcast
Sourcepub fn video(self, video: Video) -> Self
pub fn video(self, video: Video) -> Self
Select video, narrowed by video. A default Video keeps every video rendition.
Sourcepub fn audio(self, audio: Audio) -> Self
pub fn audio(self, audio: Audio) -> Self
Select audio, narrowed by audio. A default Audio keeps every audio rendition.
Sourcepub fn retain<E: CatalogExt>(&self, catalog: &mut Catalog<E>)
pub fn retain<E: CatalogExt>(&self, catalog: &mut Catalog<E>)
Drop every rendition from catalog that isn’t selected.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Broadcast
impl RefUnwindSafe for Broadcast
impl Send for Broadcast
impl Sync for Broadcast
impl Unpin for Broadcast
impl UnsafeUnpin for Broadcast
impl UnwindSafe for Broadcast
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