pub enum VideoOutput {
Layer(Arc<dyn CompositionLayer>),
Frames(Arc<dyn VideoFrameReader>),
}Expand description
Where a player sends its picture, one destination at a time.
Variants§
Layer(Arc<dyn CompositionLayer>)
The system draws the picture into a layer of its own that is this layer’s content.
Frames(Arc<dyn VideoFrameReader>)
The app draws the frames this reader hands out.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for VideoOutput
impl !UnwindSafe for VideoOutput
impl Forget for VideoOutput
impl Freeze for VideoOutputwhere
*const ArcInner<dyn CompositionLayer> is !null: Freeze,
PhantomData<ArcInner<dyn CompositionLayer>>: Freeze,
*const ArcInner<dyn VideoFrameReader> is !null: Freeze,
PhantomData<ArcInner<dyn VideoFrameReader>>: Freeze,
impl Move for VideoOutput
impl Send for VideoOutput
impl Sync for VideoOutput
impl Unpin for VideoOutput
impl UnsafeUnpin for VideoOutputwhere
*const ArcInner<dyn CompositionLayer> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn CompositionLayer>>: UnsafeUnpin,
*const ArcInner<dyn VideoFrameReader> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn VideoFrameReader>>: UnsafeUnpin,
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