#[repr(i32)]pub enum MediaFormat {
BGR = 0,
NV12 = 1,
GRAY = 2,
}Variants§
Trait Implementations§
Source§impl Clone for MediaFormat
impl Clone for MediaFormat
Source§fn clone(&self) -> MediaFormat
fn clone(&self) -> MediaFormat
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 moreimpl Copy for MediaFormat
Source§impl Debug for MediaFormat
impl Debug for MediaFormat
impl Eq for MediaFormat
Source§impl From<MediaFormat> for i32
impl From<MediaFormat> for i32
Source§fn from(v: MediaFormat) -> Self
fn from(v: MediaFormat) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MediaFormat
impl PartialEq for MediaFormat
Source§fn eq(&self, other: &MediaFormat) -> bool
fn eq(&self, other: &MediaFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MediaFormat
Auto Trait Implementations§
impl Freeze for MediaFormat
impl RefUnwindSafe for MediaFormat
impl Send for MediaFormat
impl Sync for MediaFormat
impl Unpin for MediaFormat
impl UnsafeUnpin for MediaFormat
impl UnwindSafe for MediaFormat
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