#[repr(u32)]pub enum cudaVideoSurfaceFormat {
cudaVideoSurfaceFormat_NV12,
cudaVideoSurfaceFormat_P016,
cudaVideoSurfaceFormat_YUV444,
cudaVideoSurfaceFormat_YUV444_16Bit,
}
Variants§
cudaVideoSurfaceFormat_NV12
cudaVideoSurfaceFormat_P016
cudaVideoSurfaceFormat_YUV444
cudaVideoSurfaceFormat_YUV444_16Bit
Trait Implementations§
source§impl Clone for cudaVideoSurfaceFormat_enum
impl Clone for cudaVideoSurfaceFormat_enum
source§fn clone(&self) -> cudaVideoSurfaceFormat_enum
fn clone(&self) -> cudaVideoSurfaceFormat_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 cudaVideoSurfaceFormat_enum
impl Debug for cudaVideoSurfaceFormat_enum
source§impl Hash for cudaVideoSurfaceFormat_enum
impl Hash for cudaVideoSurfaceFormat_enum
source§impl Ord for cudaVideoSurfaceFormat_enum
impl Ord for cudaVideoSurfaceFormat_enum
source§fn cmp(&self, other: &cudaVideoSurfaceFormat_enum) -> Ordering
fn cmp(&self, other: &cudaVideoSurfaceFormat_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<cudaVideoSurfaceFormat_enum> for cudaVideoSurfaceFormat_enum
impl PartialEq<cudaVideoSurfaceFormat_enum> for cudaVideoSurfaceFormat_enum
source§fn eq(&self, other: &cudaVideoSurfaceFormat_enum) -> bool
fn eq(&self, other: &cudaVideoSurfaceFormat_enum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<cudaVideoSurfaceFormat_enum> for cudaVideoSurfaceFormat_enum
impl PartialOrd<cudaVideoSurfaceFormat_enum> for cudaVideoSurfaceFormat_enum
source§fn partial_cmp(&self, other: &cudaVideoSurfaceFormat_enum) -> Option<Ordering>
fn partial_cmp(&self, other: &cudaVideoSurfaceFormat_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 cudaVideoSurfaceFormat_enum
impl Eq for cudaVideoSurfaceFormat_enum
impl StructuralEq for cudaVideoSurfaceFormat_enum
impl StructuralPartialEq for cudaVideoSurfaceFormat_enum
Auto Trait Implementations§
impl RefUnwindSafe for cudaVideoSurfaceFormat_enum
impl Send for cudaVideoSurfaceFormat_enum
impl Sync for cudaVideoSurfaceFormat_enum
impl Unpin for cudaVideoSurfaceFormat_enum
impl UnwindSafe for cudaVideoSurfaceFormat_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