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 Freeze for VideoOutput
impl Send for VideoOutput
impl Sync for VideoOutput
impl Unpin for VideoOutput
impl UnsafeUnpin for VideoOutput
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