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
H264
HEVC
Implementations
sourceimpl 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
sourceimpl Clone for EncoderType
impl Clone for EncoderType
sourcefn clone(&self) -> EncoderType
fn clone(&self) -> EncoderType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for EncoderType
impl Debug for EncoderType
sourceimpl Hash for EncoderType
impl Hash for EncoderType
sourceimpl PartialEq<EncoderType> for EncoderType
impl PartialEq<EncoderType> for EncoderType
sourceimpl TryFrom<u32> for EncoderType
impl TryFrom<u32> for EncoderType
impl Eq for EncoderType
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more