Enum opencv::cudacodec::ColorFormat
source · #[repr(C)]
pub enum ColorFormat {
BGRA,
BGR,
GRAY,
YUV,
PROP_NOT_SUPPORTED,
}
Expand description
ColorFormat for the frame returned by nextFrame()/retrieve().
Variants
BGRA
BGR
GRAY
YUV
PROP_NOT_SUPPORTED
Trait Implementations
sourceimpl Clone for ColorFormat
impl Clone for ColorFormat
sourcefn clone(&self) -> ColorFormat
fn clone(&self) -> ColorFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ColorFormat
impl Debug for ColorFormat
sourceimpl PartialEq<ColorFormat> for ColorFormat
impl PartialEq<ColorFormat> for ColorFormat
sourcefn eq(&self, other: &ColorFormat) -> bool
fn eq(&self, other: &ColorFormat) -> bool
impl Copy for ColorFormat
impl Eq for ColorFormat
impl StructuralEq for ColorFormat
impl StructuralPartialEq for ColorFormat
Auto Trait Implementations
impl RefUnwindSafe for ColorFormat
impl Send for ColorFormat
impl Sync for ColorFormat
impl Unpin for ColorFormat
impl UnwindSafe for ColorFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more