pub enum ActionsPluginAction {
LockScreen,
Hibernate,
Logout,
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
Source§impl From<ActionsPluginAction> for ActionsPluginAction
impl From<ActionsPluginAction> for ActionsPluginAction
Source§fn from(value: ActionsPluginAction) -> Self
fn from(value: ActionsPluginAction) -> Self
Converts to this type from the input type.
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 ==.Source§impl ToAction for ActionsPluginAction
impl ToAction for ActionsPluginAction
fn to_action(self) -> ActionsPluginActionCustom
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