Enum nvml_wrapper::enum_wrappers::nv_link::Capability
source · pub enum Capability {
P2p,
SysMemAccess,
P2pAtomics,
SysMemAtomics,
SliBridge,
ValidLink,
}
Expand description
Represents queryable NvLink capabilities.
Variants§
P2p
P2P over NVLink is supported.
SysMemAccess
Access to system memory is supported.
P2pAtomics
P2P atomics are supported.
SysMemAtomics
System memory atomics are supported.
SliBridge
SLI is supported over this link.
ValidLink
Link is supported on this device.
Implementations§
source§impl Capability
impl Capability
sourcepub fn as_c(&self) -> nvmlNvLinkCapability_enum
pub fn as_c(&self) -> nvmlNvLinkCapability_enum
Returns the C enum variant equivalent for the given Rust enum variant
Trait Implementations§
source§impl Clone for Capability
impl Clone for Capability
source§fn clone(&self) -> Capability
fn clone(&self) -> Capability
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 Capability
impl Debug for Capability
source§impl Hash for Capability
impl Hash for Capability
source§impl PartialEq for Capability
impl PartialEq for Capability
source§fn eq(&self, other: &Capability) -> bool
fn eq(&self, other: &Capability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for Capability
impl TryFrom<u32> for Capability
impl Eq for Capability
impl StructuralPartialEq for Capability
Auto Trait Implementations§
impl RefUnwindSafe for Capability
impl Send for Capability
impl Sync for Capability
impl Unpin for Capability
impl UnwindSafe for Capability
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