#[repr(C)]pub enum VideoFormat {
BGRA = 0,
RGBA = 1,
NV12 = 2,
I420 = 3,
}
Expand description
Video frame format.
Variants§
Trait Implementations§
Source§impl Clone for VideoFormat
impl Clone for VideoFormat
Source§fn clone(&self) -> VideoFormat
fn clone(&self) -> VideoFormat
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VideoFormat
impl Debug for VideoFormat
Source§impl PartialEq for VideoFormat
impl PartialEq for VideoFormat
impl Copy for VideoFormat
impl Eq for VideoFormat
impl StructuralPartialEq for VideoFormat
Auto Trait Implementations§
impl Freeze for VideoFormat
impl RefUnwindSafe for VideoFormat
impl Send for VideoFormat
impl Sync for VideoFormat
impl Unpin for VideoFormat
impl UnwindSafe for VideoFormat
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