#[repr(u32)]pub enum cudaVideoChromaFormat_enum {
cudaVideoChromaFormat_Monochrome = 0,
cudaVideoChromaFormat_420 = 1,
cudaVideoChromaFormat_422 = 2,
cudaVideoChromaFormat_444 = 3,
}
Variants§
cudaVideoChromaFormat_Monochrome = 0
cudaVideoChromaFormat_420 = 1
cudaVideoChromaFormat_422 = 2
cudaVideoChromaFormat_444 = 3
Trait Implementations§
Source§impl Clone for cudaVideoChromaFormat_enum
impl Clone for cudaVideoChromaFormat_enum
Source§fn clone(&self) -> cudaVideoChromaFormat_enum
fn clone(&self) -> cudaVideoChromaFormat_enum
Returns a duplicate 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 cudaVideoChromaFormat_enum
impl Debug for cudaVideoChromaFormat_enum
Source§impl Hash for cudaVideoChromaFormat_enum
impl Hash for cudaVideoChromaFormat_enum
Source§impl Ord for cudaVideoChromaFormat_enum
impl Ord for cudaVideoChromaFormat_enum
Source§fn cmp(&self, other: &cudaVideoChromaFormat_enum) -> Ordering
fn cmp(&self, other: &cudaVideoChromaFormat_enum) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for cudaVideoChromaFormat_enum
impl PartialOrd for cudaVideoChromaFormat_enum
impl Copy for cudaVideoChromaFormat_enum
impl Eq for cudaVideoChromaFormat_enum
impl StructuralPartialEq for cudaVideoChromaFormat_enum
Auto Trait Implementations§
impl Freeze for cudaVideoChromaFormat_enum
impl RefUnwindSafe for cudaVideoChromaFormat_enum
impl Send for cudaVideoChromaFormat_enum
impl Sync for cudaVideoChromaFormat_enum
impl Unpin for cudaVideoChromaFormat_enum
impl UnwindSafe for cudaVideoChromaFormat_enum
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