Enum nvml_wrapper::enum_wrappers::device::EncoderType
source · 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 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 EncoderType
impl Debug 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
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for EncoderType
impl TryFrom<u32> for EncoderType
impl Eq for EncoderType
impl StructuralPartialEq for EncoderType
Auto Trait Implementations§
impl RefUnwindSafe for EncoderType
impl Send for EncoderType
impl Sync for EncoderType
impl Unpin 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