pub enum EncoderType {
H264,
HEVC,
}Expand description
Represents encoder types that capacity can be queried for.
Variants§
Implementations§
Source§impl EncoderType
impl EncoderType
Sourcepub fn as_c(&self) -> nvmlEncoderQueryType_enum
pub fn as_c(&self) -> nvmlEncoderQueryType_enum
Returns the C enum variant equivalent for the given Rust enum variant
Trait Implementations§
Source§impl Clone for EncoderType
impl Clone for EncoderType
Source§fn clone(&self) -> EncoderType
fn clone(&self) -> EncoderType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EncoderType
Source§impl Debug for EncoderType
impl Debug for EncoderType
impl Eq for EncoderType
Source§impl Hash for EncoderType
impl Hash for EncoderType
Source§impl PartialEq for EncoderType
impl PartialEq for EncoderType
Source§fn eq(&self, other: &EncoderType) -> bool
fn eq(&self, other: &EncoderType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EncoderType
Auto Trait Implementations§
impl Freeze for EncoderType
impl RefUnwindSafe for EncoderType
impl Send for EncoderType
impl Sync for EncoderType
impl Unpin for EncoderType
impl UnsafeUnpin for EncoderType
impl UnwindSafe for EncoderType
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