#[repr(u8)]pub enum PDSystemEvent {
kEventInit = 0,
kEventInitLua = 1,
kEventLock = 2,
kEventUnlock = 3,
kEventPause = 4,
kEventResume = 5,
kEventTerminate = 6,
kEventKeyPressed = 7,
kEventKeyReleased = 8,
kEventLowPower = 9,
}Variants§
kEventInit = 0
kEventInitLua = 1
kEventLock = 2
kEventUnlock = 3
kEventPause = 4
kEventResume = 5
kEventTerminate = 6
kEventKeyPressed = 7
kEventKeyReleased = 8
kEventLowPower = 9
Trait Implementations§
Source§impl Clone for PDSystemEvent
impl Clone for PDSystemEvent
Source§fn clone(&self) -> PDSystemEvent
fn clone(&self) -> PDSystemEvent
Returns a duplicate of the value. Read more
1.0.0§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 Ord for PDSystemEvent
impl Ord for PDSystemEvent
Source§impl PartialEq for PDSystemEvent
impl PartialEq for PDSystemEvent
Source§impl PartialOrd for PDSystemEvent
impl PartialOrd for PDSystemEvent
Source§fn partial_cmp(&self, other: &PDSystemEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &PDSystemEvent) -> Option<Ordering>
impl Copy for PDSystemEvent
impl Eq for PDSystemEvent
impl StructuralPartialEq for PDSystemEvent
Auto Trait Implementations§
impl Freeze for PDSystemEvent
impl RefUnwindSafe for PDSystemEvent
impl Send for PDSystemEvent
impl Sync for PDSystemEvent
impl Unpin for PDSystemEvent
impl UnwindSafe for PDSystemEvent
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
kEventInit: 0 byteskEventInitLua: 0 byteskEventLock: 0 byteskEventUnlock: 0 byteskEventPause: 0 byteskEventResume: 0 byteskEventTerminate: 0 byteskEventKeyPressed: 0 byteskEventKeyReleased: 0 byteskEventLowPower: 0 bytes