#[repr(u32)]pub enum cudaVideoSurfaceFormat {
cudaVideoSurfaceFormat_NV12 = 0,
cudaVideoSurfaceFormat_P016 = 1,
cudaVideoSurfaceFormat_YUV444 = 2,
cudaVideoSurfaceFormat_YUV444_16Bit = 3,
}
Variants§
cudaVideoSurfaceFormat_NV12 = 0
cudaVideoSurfaceFormat_P016 = 1
cudaVideoSurfaceFormat_YUV444 = 2
cudaVideoSurfaceFormat_YUV444_16Bit = 3
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 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 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 PartialOrd for cudaVideoSurfaceFormat_enum
impl PartialOrd for cudaVideoSurfaceFormat_enum
impl Copy for cudaVideoSurfaceFormat_enum
impl Eq for cudaVideoSurfaceFormat_enum
impl StructuralPartialEq for cudaVideoSurfaceFormat_enum
Auto Trait Implementations§
impl Freeze for cudaVideoSurfaceFormat_enum
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