pub enum ActivationType {
File(String),
Folder,
Background,
}Expand description
Entry activation type
Variants§
File(String)
Entry activation on file right click. Must be an extension (e.g., .rs) or * for any file type
Folder
Entry activation on folder right click.
Background
Entry activation on directory background right click.
Trait Implementations§
Source§impl Clone for ActivationType
impl Clone for ActivationType
Source§fn clone(&self) -> ActivationType
fn clone(&self) -> ActivationType
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 moreAuto Trait Implementations§
impl Freeze for ActivationType
impl RefUnwindSafe for ActivationType
impl Send for ActivationType
impl Sync for ActivationType
impl Unpin for ActivationType
impl UnwindSafe for ActivationType
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