pub enum VideoColorFormat {
YUV420Planar,
YUV420SemiPlanar,
YUV420Flexible,
Unknown,
}
Variants§
Implementations§
§impl VideoColorFormat
impl VideoColorFormat
pub fn from_str(s: &str) -> VideoColorFormat
Trait Implementations§
§impl Clone for VideoColorFormat
impl Clone for VideoColorFormat
§fn clone(&self) -> VideoColorFormat
fn clone(&self) -> VideoColorFormat
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 more§impl Debug for VideoColorFormat
impl Debug for VideoColorFormat
§impl Default for VideoColorFormat
impl Default for VideoColorFormat
§fn default() -> VideoColorFormat
fn default() -> VideoColorFormat
Returns the “default value” for a type. Read more
impl Copy for VideoColorFormat
Auto Trait Implementations§
impl RefUnwindSafe for VideoColorFormat
impl Send for VideoColorFormat
impl Sync for VideoColorFormat
impl Unpin for VideoColorFormat
impl UnwindSafe for VideoColorFormat
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