pub enum PowerEvent {
On,
Off,
}Variants§
Trait Implementations§
Source§impl Clone for PowerEvent
impl Clone for PowerEvent
Source§fn clone(&self) -> PowerEvent
fn clone(&self) -> PowerEvent
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PowerEvent
impl RefUnwindSafe for PowerEvent
impl Send for PowerEvent
impl Sync for PowerEvent
impl Unpin for PowerEvent
impl UnsafeUnpin for PowerEvent
impl UnwindSafe for PowerEvent
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