pub enum SdkEvent {
Lock,
Unlock,
Pause,
Resume,
Terminate,
LowPower,
}Expand description
What the SDK tells a game between updates (PDSystemEvent, by number;
shim/shim.c checks them against the header).
Variants§
Lock
The device was locked (kEventLock).
Unlock
The device was unlocked (kEventUnlock).
Pause
The system menu opened (kEventPause).
Resume
The system menu closed (kEventResume).
Terminate
The system is closing the game (kEventTerminate).
LowPower
The battery is nearly empty (kEventLowPower).
Implementations§
Trait Implementations§
impl Copy for SdkEvent
impl Eq for SdkEvent
impl StructuralPartialEq for SdkEvent
Auto Trait Implementations§
impl Freeze for SdkEvent
impl RefUnwindSafe for SdkEvent
impl Send for SdkEvent
impl Sync for SdkEvent
impl Unpin for SdkEvent
impl UnsafeUnpin for SdkEvent
impl UnwindSafe for SdkEvent
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