#[repr(u32)]pub enum cudaVideoChromaFormat {
cudaVideoChromaFormat_Monochrome,
cudaVideoChromaFormat_420,
cudaVideoChromaFormat_422,
cudaVideoChromaFormat_444,
}
Variants§
cudaVideoChromaFormat_Monochrome
cudaVideoChromaFormat_420
cudaVideoChromaFormat_422
cudaVideoChromaFormat_444
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 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 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 PartialEq<cudaVideoChromaFormat_enum> for cudaVideoChromaFormat_enum
impl PartialEq<cudaVideoChromaFormat_enum> for cudaVideoChromaFormat_enum
source§fn eq(&self, other: &cudaVideoChromaFormat_enum) -> bool
fn eq(&self, other: &cudaVideoChromaFormat_enum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<cudaVideoChromaFormat_enum> for cudaVideoChromaFormat_enum
impl PartialOrd<cudaVideoChromaFormat_enum> for cudaVideoChromaFormat_enum
source§fn partial_cmp(&self, other: &cudaVideoChromaFormat_enum) -> Option<Ordering>
fn partial_cmp(&self, other: &cudaVideoChromaFormat_enum) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for cudaVideoChromaFormat_enum
impl Eq for cudaVideoChromaFormat_enum
impl StructuralEq for cudaVideoChromaFormat_enum
impl StructuralPartialEq for cudaVideoChromaFormat_enum
Auto Trait Implementations§
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