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