Enum nvml_wrapper::enums::device::FirmwareVersion
source · pub enum FirmwareVersion {
Unavailable,
Version(u32),
}
Expand description
Respresents possible variants for a firmware version.
Variants§
Trait Implementations§
source§impl Clone for FirmwareVersion
impl Clone for FirmwareVersion
source§fn clone(&self) -> FirmwareVersion
fn clone(&self) -> FirmwareVersion
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 FirmwareVersion
impl Debug for FirmwareVersion
source§impl From<u32> for FirmwareVersion
impl From<u32> for FirmwareVersion
source§impl Hash for FirmwareVersion
impl Hash for FirmwareVersion
source§impl PartialEq for FirmwareVersion
impl PartialEq for FirmwareVersion
source§fn eq(&self, other: &FirmwareVersion) -> bool
fn eq(&self, other: &FirmwareVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FirmwareVersion
impl StructuralPartialEq for FirmwareVersion
Auto Trait Implementations§
impl RefUnwindSafe for FirmwareVersion
impl Send for FirmwareVersion
impl Sync for FirmwareVersion
impl Unpin for FirmwareVersion
impl UnwindSafe for FirmwareVersion
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