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_uint
§revision: c_uint
§guestInfoState: nvmlVgpuGuestInfoState_t
§guestDriverVersion: [c_char; 80]
§hostDriverVersion: [c_char; 80]
§reserved: [c_uint; 6]
§vgpuVirtualizationCaps: c_uint
§guestVgpuVersion: c_uint
§opaqueDataSize: c_uint
§opaqueData: [c_char; 4]
Trait Implementations§
source§impl Clone for nvmlVgpuMetadata_st
impl Clone for nvmlVgpuMetadata_st
source§fn clone(&self) -> nvmlVgpuMetadata_st
fn clone(&self) -> nvmlVgpuMetadata_st
Returns a copy 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 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§
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