Enum windows_native::ntexapi::SHUTDOWN_ACTION
source · #[repr(i32)]pub enum SHUTDOWN_ACTION {
ShutdownNoReboot,
ShutdownReboot,
ShutdownPowerOff,
ShutdownRebootForRecovery,
}Variants§
Trait Implementations§
source§impl Clone for SHUTDOWN_ACTION
impl Clone for SHUTDOWN_ACTION
source§fn clone(&self) -> SHUTDOWN_ACTION
fn clone(&self) -> SHUTDOWN_ACTION
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 SHUTDOWN_ACTION
impl Debug for SHUTDOWN_ACTION
source§impl Hash for SHUTDOWN_ACTION
impl Hash for SHUTDOWN_ACTION
source§impl PartialEq<SHUTDOWN_ACTION> for SHUTDOWN_ACTION
impl PartialEq<SHUTDOWN_ACTION> for SHUTDOWN_ACTION
source§fn eq(&self, other: &SHUTDOWN_ACTION) -> bool
fn eq(&self, other: &SHUTDOWN_ACTION) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for SHUTDOWN_ACTION
impl Eq for SHUTDOWN_ACTION
impl StructuralEq for SHUTDOWN_ACTION
impl StructuralPartialEq for SHUTDOWN_ACTION
Auto Trait Implementations§
impl RefUnwindSafe for SHUTDOWN_ACTION
impl Send for SHUTDOWN_ACTION
impl Sync for SHUTDOWN_ACTION
impl Unpin for SHUTDOWN_ACTION
impl UnwindSafe for SHUTDOWN_ACTION
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