Enum crankstart_sys::PDSystemEvent
source · #[repr(u32)]pub enum PDSystemEvent {
kEventInit,
kEventInitLua,
kEventLock,
kEventUnlock,
kEventPause,
kEventResume,
kEventTerminate,
kEventKeyPressed,
kEventKeyReleased,
kEventLowPower,
}
Variants§
kEventInit
kEventInitLua
kEventLock
kEventUnlock
kEventPause
kEventResume
kEventTerminate
kEventKeyPressed
kEventKeyReleased
kEventLowPower
Trait Implementations§
source§impl Clone for PDSystemEvent
impl Clone for PDSystemEvent
source§fn clone(&self) -> PDSystemEvent
fn clone(&self) -> PDSystemEvent
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 PDSystemEvent
impl Debug for PDSystemEvent
source§impl Hash for PDSystemEvent
impl Hash for PDSystemEvent
source§impl PartialEq<PDSystemEvent> for PDSystemEvent
impl PartialEq<PDSystemEvent> for PDSystemEvent
source§fn eq(&self, other: &PDSystemEvent) -> bool
fn eq(&self, other: &PDSystemEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PDSystemEvent
impl Eq for PDSystemEvent
impl StructuralEq for PDSystemEvent
impl StructuralPartialEq for PDSystemEvent
Auto Trait Implementations§
impl RefUnwindSafe for PDSystemEvent
impl Send for PDSystemEvent
impl Sync for PDSystemEvent
impl Unpin for PDSystemEvent
impl UnwindSafe for PDSystemEvent
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