pub enum ActionsPluginAction {
LockScreen,
Logout,
Hibernate,
Reboot,
Shutdown,
Suspend,
Custom(ActionsPluginActionCustom),
}Variants§
Trait Implementations§
Source§impl Clone for ActionsPluginAction
impl Clone for ActionsPluginAction
Source§fn clone(&self) -> ActionsPluginAction
fn clone(&self) -> ActionsPluginAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ActionsPluginAction
impl Debug for ActionsPluginAction
impl Eq for ActionsPluginAction
Source§impl PartialEq for ActionsPluginAction
impl PartialEq for ActionsPluginAction
Source§fn eq(&self, other: &ActionsPluginAction) -> bool
fn eq(&self, other: &ActionsPluginAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ActionsPluginAction
Auto Trait Implementations§
impl Freeze for ActionsPluginAction
impl RefUnwindSafe for ActionsPluginAction
impl Send for ActionsPluginAction
impl Sync for ActionsPluginAction
impl Unpin for ActionsPluginAction
impl UnsafeUnpin for ActionsPluginAction
impl UnwindSafe for ActionsPluginAction
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