pub struct VgpuLicenseInfo {
pub is_licensed: bool,
pub expiry: VgpuLicenseExpiry,
pub state: VgpuLicenseState,
}Fields§
§is_licensed: bool§expiry: VgpuLicenseExpiry§state: VgpuLicenseStateTrait Implementations§
Source§impl Clone for VgpuLicenseInfo
impl Clone for VgpuLicenseInfo
Source§fn clone(&self) -> VgpuLicenseInfo
fn clone(&self) -> VgpuLicenseInfo
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 moreimpl Copy for VgpuLicenseInfo
Source§impl Debug for VgpuLicenseInfo
impl Debug for VgpuLicenseInfo
Source§impl From<nvmlVgpuLicenseInfo_st> for VgpuLicenseInfo
impl From<nvmlVgpuLicenseInfo_st> for VgpuLicenseInfo
Source§fn from(value: nvmlVgpuLicenseInfo_t) -> Self
fn from(value: nvmlVgpuLicenseInfo_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VgpuLicenseInfo
impl RefUnwindSafe for VgpuLicenseInfo
impl Send for VgpuLicenseInfo
impl Sync for VgpuLicenseInfo
impl Unpin for VgpuLicenseInfo
impl UnsafeUnpin for VgpuLicenseInfo
impl UnwindSafe for VgpuLicenseInfo
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