pub enum MediaFrame {
CpuRgba(Arc<CpuMediaFrame>),
ExternalTexture(ExternalTextureFrame),
}Variants§
CpuRgba(Arc<CpuMediaFrame>)
ExternalTexture(ExternalTextureFrame)
Trait Implementations§
Source§impl Clone for MediaFrame
impl Clone for MediaFrame
Source§fn clone(&self) -> MediaFrame
fn clone(&self) -> MediaFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MediaFrame
impl !RefUnwindSafe for MediaFrame
impl Send for MediaFrame
impl Sync for MediaFrame
impl Unpin for MediaFrame
impl UnsafeUnpin for MediaFrame
impl !UnwindSafe for MediaFrame
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