pub enum P2pCapabilitiesIndex {
Read,
Write,
NvLink,
Atomics,
Prop,
Unknown,
}
Variants§
Implementations§
source§impl P2pCapabilitiesIndex
impl P2pCapabilitiesIndex
sourcepub fn as_c(&self) -> nvmlGpuP2PCapsIndex_enum
pub fn as_c(&self) -> nvmlGpuP2PCapsIndex_enum
Returns the C enum variant equivalent for the given Rust enum variant
Trait Implementations§
source§impl Clone for P2pCapabilitiesIndex
impl Clone for P2pCapabilitiesIndex
source§fn clone(&self) -> P2pCapabilitiesIndex
fn clone(&self) -> P2pCapabilitiesIndex
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 P2pCapabilitiesIndex
impl Debug for P2pCapabilitiesIndex
source§impl Hash for P2pCapabilitiesIndex
impl Hash for P2pCapabilitiesIndex
source§impl PartialEq for P2pCapabilitiesIndex
impl PartialEq for P2pCapabilitiesIndex
source§fn eq(&self, other: &P2pCapabilitiesIndex) -> bool
fn eq(&self, other: &P2pCapabilitiesIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for P2pCapabilitiesIndex
impl TryFrom<u32> for P2pCapabilitiesIndex
impl Eq for P2pCapabilitiesIndex
impl StructuralPartialEq for P2pCapabilitiesIndex
Auto Trait Implementations§
impl RefUnwindSafe for P2pCapabilitiesIndex
impl Send for P2pCapabilitiesIndex
impl Sync for P2pCapabilitiesIndex
impl Unpin for P2pCapabilitiesIndex
impl UnwindSafe for P2pCapabilitiesIndex
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