Struct nvml_wrapper_sys::bindings::nvmlPSUInfo_st
source · #[repr(C)]pub struct nvmlPSUInfo_st {
pub state: [c_char; 256],
pub current: c_uint,
pub voltage: c_uint,
pub power: c_uint,
}
Fields§
§state: [c_char; 256]
§current: c_uint
§voltage: c_uint
§power: c_uint
Trait Implementations§
source§impl Clone for nvmlPSUInfo_st
impl Clone for nvmlPSUInfo_st
source§fn clone(&self) -> nvmlPSUInfo_st
fn clone(&self) -> nvmlPSUInfo_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 nvmlPSUInfo_st
impl Debug for nvmlPSUInfo_st
impl Copy for nvmlPSUInfo_st
Auto Trait Implementations§
impl RefUnwindSafe for nvmlPSUInfo_st
impl Send for nvmlPSUInfo_st
impl Sync for nvmlPSUInfo_st
impl Unpin for nvmlPSUInfo_st
impl UnwindSafe for nvmlPSUInfo_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