pub struct GpuInstancePlacement {
pub size: u32,
pub start: u32,
}Expand description
MIG profile placements
Fields§
§size: u32Memory slices occupied
start: u32Index of first occupied memory slice (inclusive)
Trait Implementations§
Source§impl Clone for GpuInstancePlacement
impl Clone for GpuInstancePlacement
Source§fn clone(&self) -> GpuInstancePlacement
fn clone(&self) -> GpuInstancePlacement
Returns a duplicate 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 GpuInstancePlacement
impl Debug for GpuInstancePlacement
Source§impl From<nvmlGpuInstancePlacement_st> for GpuInstancePlacement
impl From<nvmlGpuInstancePlacement_st> for GpuInstancePlacement
Source§fn from(value: nvmlGpuInstancePlacement_t) -> Self
fn from(value: nvmlGpuInstancePlacement_t) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GpuInstancePlacement
impl PartialEq for GpuInstancePlacement
impl Eq for GpuInstancePlacement
impl StructuralPartialEq for GpuInstancePlacement
Auto Trait Implementations§
impl Freeze for GpuInstancePlacement
impl RefUnwindSafe for GpuInstancePlacement
impl Send for GpuInstancePlacement
impl Sync for GpuInstancePlacement
impl Unpin for GpuInstancePlacement
impl UnwindSafe for GpuInstancePlacement
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