Enum nvml_wrapper::enum_wrappers::device::FbcSessionType
source · pub enum FbcSessionType {
Unknown,
ToSys,
Cuda,
Vid,
HwEnc,
}
Expand description
The type of a frame buffer capture session
NVIDIA doesn’t document the variants beyond their names.
Variants§
Implementations§
source§impl FbcSessionType
impl FbcSessionType
sourcepub fn as_c(&self) -> nvmlFBCSessionType_enum
pub fn as_c(&self) -> nvmlFBCSessionType_enum
Returns the C enum variant equivalent for the given Rust enum variant
Trait Implementations§
source§impl Clone for FbcSessionType
impl Clone for FbcSessionType
source§fn clone(&self) -> FbcSessionType
fn clone(&self) -> FbcSessionType
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 FbcSessionType
impl Debug for FbcSessionType
source§impl Hash for FbcSessionType
impl Hash for FbcSessionType
source§impl PartialEq for FbcSessionType
impl PartialEq for FbcSessionType
source§fn eq(&self, other: &FbcSessionType) -> bool
fn eq(&self, other: &FbcSessionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for FbcSessionType
impl TryFrom<u32> for FbcSessionType
impl Eq for FbcSessionType
impl StructuralPartialEq for FbcSessionType
Auto Trait Implementations§
impl RefUnwindSafe for FbcSessionType
impl Send for FbcSessionType
impl Sync for FbcSessionType
impl Unpin for FbcSessionType
impl UnwindSafe for FbcSessionType
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