pub struct ComputeInstancePlacement {
pub start: u32,
pub size: u32,
}Fields§
§start: u32§size: u32Trait Implementations§
Source§impl Clone for ComputeInstancePlacement
impl Clone for ComputeInstancePlacement
Source§fn clone(&self) -> ComputeInstancePlacement
fn clone(&self) -> ComputeInstancePlacement
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 ComputeInstancePlacement
impl Debug for ComputeInstancePlacement
Source§impl From<ComputeInstancePlacement> for nvmlComputeInstancePlacement_t
impl From<ComputeInstancePlacement> for nvmlComputeInstancePlacement_t
Source§fn from(value: ComputeInstancePlacement) -> Self
fn from(value: ComputeInstancePlacement) -> Self
Converts to this type from the input type.
Source§impl From<nvmlComputeInstancePlacement_st> for ComputeInstancePlacement
impl From<nvmlComputeInstancePlacement_st> for ComputeInstancePlacement
Source§fn from(value: nvmlComputeInstancePlacement_t) -> Self
fn from(value: nvmlComputeInstancePlacement_t) -> Self
Converts to this type from the input type.
Source§impl Hash for ComputeInstancePlacement
impl Hash for ComputeInstancePlacement
Source§impl PartialEq for ComputeInstancePlacement
impl PartialEq for ComputeInstancePlacement
Source§fn eq(&self, other: &ComputeInstancePlacement) -> bool
fn eq(&self, other: &ComputeInstancePlacement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ComputeInstancePlacement
impl Eq for ComputeInstancePlacement
impl StructuralPartialEq for ComputeInstancePlacement
Auto Trait Implementations§
impl Freeze for ComputeInstancePlacement
impl RefUnwindSafe for ComputeInstancePlacement
impl Send for ComputeInstancePlacement
impl Sync for ComputeInstancePlacement
impl Unpin for ComputeInstancePlacement
impl UnsafeUnpin for ComputeInstancePlacement
impl UnwindSafe for ComputeInstancePlacement
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