pub struct LedState {
pub cause: String,
pub color: LedColor,
}Fields§
§cause: String§color: LedColorTrait Implementations§
Source§impl From<nvmlLedState_st> for LedState
impl From<nvmlLedState_st> for LedState
Source§fn from(value: nvmlLedState_t) -> Self
fn from(value: nvmlLedState_t) -> Self
Converts to this type from the input type.
impl Eq for LedState
impl StructuralPartialEq for LedState
Auto Trait Implementations§
impl Freeze for LedState
impl RefUnwindSafe for LedState
impl Send for LedState
impl Sync for LedState
impl Unpin for LedState
impl UnsafeUnpin for LedState
impl UnwindSafe for LedState
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