pub struct ComputeInstanceInfo {
pub device: Device,
pub gpu_instance: GpuInstance,
pub id: u32,
pub profile_id: u32,
pub placement: ComputeInstancePlacement,
}Expand description
Information about a compute instance.
Fields§
§device: DeviceParent device for the compute instance.
gpu_instance: GpuInstanceParent GPU instance.
id: u32Compute instance ID.
profile_id: u32Compute instance profile ID.
placement: ComputeInstancePlacementPlacement of the compute instance within the parent GPU instance.
Trait Implementations§
Source§impl Clone for ComputeInstanceInfo
impl Clone for ComputeInstanceInfo
Source§fn clone(&self) -> ComputeInstanceInfo
fn clone(&self) -> ComputeInstanceInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ComputeInstanceInfo
impl Debug for ComputeInstanceInfo
Source§impl From<nvmlComputeInstanceInfo_st> for ComputeInstanceInfo
impl From<nvmlComputeInstanceInfo_st> for ComputeInstanceInfo
Source§fn from(value: nvmlComputeInstanceInfo_t) -> Self
fn from(value: nvmlComputeInstanceInfo_t) -> Self
Converts to this type from the input type.
Source§impl Hash for ComputeInstanceInfo
impl Hash for ComputeInstanceInfo
Source§impl PartialEq for ComputeInstanceInfo
impl PartialEq for ComputeInstanceInfo
Source§fn eq(&self, other: &ComputeInstanceInfo) -> bool
fn eq(&self, other: &ComputeInstanceInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ComputeInstanceInfo
impl StructuralPartialEq for ComputeInstanceInfo
Auto Trait Implementations§
impl Freeze for ComputeInstanceInfo
impl RefUnwindSafe for ComputeInstanceInfo
impl !Send for ComputeInstanceInfo
impl !Sync for ComputeInstanceInfo
impl Unpin for ComputeInstanceInfo
impl UnsafeUnpin for ComputeInstanceInfo
impl UnwindSafe for ComputeInstanceInfo
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