#[repr(u32)]pub enum PowerTick {
All = 0,
Suspend = 1,
Display = 6,
}
Expand description
Type of power tick to generate.
Variants§
All = 0
A tick that prevents the PSP from suspending and the display from turning off.
Suspend = 1
A power tick that prevents the PSP from suspending.
Display = 6
A power tick that prevents the PSP display from turning off.
Auto Trait Implementations§
impl Freeze for PowerTick
impl RefUnwindSafe for PowerTick
impl Send for PowerTick
impl Sync for PowerTick
impl Unpin for PowerTick
impl UnwindSafe for PowerTick
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