pub struct GpuInstancePlacement {
pub start: u32,
pub size: u32,
}Fields§
§start: u32§size: u32Trait 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 (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 GpuInstancePlacement
impl Debug for GpuInstancePlacement
Source§impl From<GpuInstancePlacement> for nvmlGpuInstancePlacement_t
impl From<GpuInstancePlacement> for nvmlGpuInstancePlacement_t
Source§fn from(value: GpuInstancePlacement) -> Self
fn from(value: GpuInstancePlacement) -> Self
Converts to this type from the input type.
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 Hash for GpuInstancePlacement
impl Hash for GpuInstancePlacement
Source§impl PartialEq for GpuInstancePlacement
impl PartialEq for GpuInstancePlacement
Source§fn eq(&self, other: &GpuInstancePlacement) -> bool
fn eq(&self, other: &GpuInstancePlacement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy 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 UnsafeUnpin 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