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
sourceimpl 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
sourceimpl Clone for Capability
impl Clone for Capability
sourcefn clone(&self) -> Capability
fn clone(&self) -> Capability
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 Capability
impl Debug for Capability
sourceimpl Hash for Capability
impl Hash for Capability
sourceimpl PartialEq<Capability> for Capability
impl PartialEq<Capability> for Capability
sourceimpl TryFrom<u32> for Capability
impl TryFrom<u32> for Capability
impl Eq for Capability
impl StructuralEq 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
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