Struct nvml_wrapper_sys::bindings::nvmlVgpuMetadata_st
source · [−]#[repr(C)]pub struct nvmlVgpuMetadata_st {
pub version: c_uint,
pub revision: c_uint,
pub guestInfoState: nvmlVgpuGuestInfoState_t,
pub guestDriverVersion: [c_char; 80],
pub hostDriverVersion: [c_char; 80],
pub reserved: [c_uint; 6],
pub vgpuVirtualizationCaps: c_uint,
pub guestVgpuVersion: c_uint,
pub opaqueDataSize: c_uint,
pub opaqueData: [c_char; 4],
}Fields
version: c_uintrevision: c_uintguestInfoState: nvmlVgpuGuestInfoState_tguestDriverVersion: [c_char; 80]hostDriverVersion: [c_char; 80]reserved: [c_uint; 6]vgpuVirtualizationCaps: c_uintguestVgpuVersion: c_uintopaqueDataSize: c_uintopaqueData: [c_char; 4]Trait Implementations
sourceimpl Clone for nvmlVgpuMetadata_st
impl Clone for nvmlVgpuMetadata_st
sourcefn clone(&self) -> nvmlVgpuMetadata_st
fn clone(&self) -> nvmlVgpuMetadata_st
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for nvmlVgpuMetadata_st
impl Debug for nvmlVgpuMetadata_st
impl Copy for nvmlVgpuMetadata_st
Auto Trait Implementations
impl RefUnwindSafe for nvmlVgpuMetadata_st
impl Send for nvmlVgpuMetadata_st
impl Sync for nvmlVgpuMetadata_st
impl Unpin for nvmlVgpuMetadata_st
impl UnwindSafe for nvmlVgpuMetadata_st
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more