pub enum SurfaceMenuAction {
Information {},
Switcher {
action: SurfaceMenuBuiltinAction,
},
Lxapp {
action: LxappSurfaceMenuAction,
},
External {
namespace: String,
generation: u64,
action_id: String,
},
}Variants§
Information
Switcher
Fields
§
action: SurfaceMenuBuiltinActionLxapp
Fields
§
action: LxappSurfaceMenuActionExternal
Trait Implementations§
Source§impl Clone for SurfaceMenuAction
impl Clone for SurfaceMenuAction
Source§fn clone(&self) -> SurfaceMenuAction
fn clone(&self) -> SurfaceMenuAction
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 SurfaceMenuAction
impl Debug for SurfaceMenuAction
Source§impl<'de> Deserialize<'de> for SurfaceMenuAction
impl<'de> Deserialize<'de> for SurfaceMenuAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SurfaceMenuAction
Source§impl PartialEq for SurfaceMenuAction
impl PartialEq for SurfaceMenuAction
Source§impl Serialize for SurfaceMenuAction
impl Serialize for SurfaceMenuAction
impl StructuralPartialEq for SurfaceMenuAction
Auto Trait Implementations§
impl Freeze for SurfaceMenuAction
impl RefUnwindSafe for SurfaceMenuAction
impl Send for SurfaceMenuAction
impl Sync for SurfaceMenuAction
impl Unpin for SurfaceMenuAction
impl UnsafeUnpin for SurfaceMenuAction
impl UnwindSafe for SurfaceMenuAction
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