#[repr(u32)]pub enum NV_ENC_BUFFER_FORMAT {
Show 13 variants
NV_ENC_BUFFER_FORMAT_UNDEFINED,
NV_ENC_BUFFER_FORMAT_NV12,
NV_ENC_BUFFER_FORMAT_YV12,
NV_ENC_BUFFER_FORMAT_IYUV,
NV_ENC_BUFFER_FORMAT_YUV444,
NV_ENC_BUFFER_FORMAT_YUV420_10BIT,
NV_ENC_BUFFER_FORMAT_YUV444_10BIT,
NV_ENC_BUFFER_FORMAT_ARGB,
NV_ENC_BUFFER_FORMAT_ARGB10,
NV_ENC_BUFFER_FORMAT_AYUV,
NV_ENC_BUFFER_FORMAT_ABGR,
NV_ENC_BUFFER_FORMAT_ABGR10,
NV_ENC_BUFFER_FORMAT_U8,
}
Variants§
NV_ENC_BUFFER_FORMAT_UNDEFINED
NV_ENC_BUFFER_FORMAT_NV12
NV_ENC_BUFFER_FORMAT_YV12
NV_ENC_BUFFER_FORMAT_IYUV
NV_ENC_BUFFER_FORMAT_YUV444
NV_ENC_BUFFER_FORMAT_YUV420_10BIT
NV_ENC_BUFFER_FORMAT_YUV444_10BIT
NV_ENC_BUFFER_FORMAT_ARGB
NV_ENC_BUFFER_FORMAT_ARGB10
NV_ENC_BUFFER_FORMAT_AYUV
NV_ENC_BUFFER_FORMAT_ABGR
NV_ENC_BUFFER_FORMAT_ABGR10
NV_ENC_BUFFER_FORMAT_U8
Trait Implementations§
source§impl Clone for _NV_ENC_BUFFER_FORMAT
impl Clone for _NV_ENC_BUFFER_FORMAT
source§fn clone(&self) -> _NV_ENC_BUFFER_FORMAT
fn clone(&self) -> _NV_ENC_BUFFER_FORMAT
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 _NV_ENC_BUFFER_FORMAT
impl Debug for _NV_ENC_BUFFER_FORMAT
source§impl Hash for _NV_ENC_BUFFER_FORMAT
impl Hash for _NV_ENC_BUFFER_FORMAT
source§impl Ord for _NV_ENC_BUFFER_FORMAT
impl Ord for _NV_ENC_BUFFER_FORMAT
source§fn cmp(&self, other: &_NV_ENC_BUFFER_FORMAT) -> Ordering
fn cmp(&self, other: &_NV_ENC_BUFFER_FORMAT) -> 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<_NV_ENC_BUFFER_FORMAT> for _NV_ENC_BUFFER_FORMAT
impl PartialEq<_NV_ENC_BUFFER_FORMAT> for _NV_ENC_BUFFER_FORMAT
source§fn eq(&self, other: &_NV_ENC_BUFFER_FORMAT) -> bool
fn eq(&self, other: &_NV_ENC_BUFFER_FORMAT) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<_NV_ENC_BUFFER_FORMAT> for _NV_ENC_BUFFER_FORMAT
impl PartialOrd<_NV_ENC_BUFFER_FORMAT> for _NV_ENC_BUFFER_FORMAT
source§fn partial_cmp(&self, other: &_NV_ENC_BUFFER_FORMAT) -> Option<Ordering>
fn partial_cmp(&self, other: &_NV_ENC_BUFFER_FORMAT) -> 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 _NV_ENC_BUFFER_FORMAT
impl Eq for _NV_ENC_BUFFER_FORMAT
impl StructuralEq for _NV_ENC_BUFFER_FORMAT
impl StructuralPartialEq for _NV_ENC_BUFFER_FORMAT
Auto Trait Implementations§
impl RefUnwindSafe for _NV_ENC_BUFFER_FORMAT
impl Send for _NV_ENC_BUFFER_FORMAT
impl Sync for _NV_ENC_BUFFER_FORMAT
impl Unpin for _NV_ENC_BUFFER_FORMAT
impl UnwindSafe for _NV_ENC_BUFFER_FORMAT
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