pub enum ActivationType {
File(String),
Folder,
Background,
}Expand description
Entry activation type
Variants§
File(String)
Entry activation on files (must be an extension (e.g., .rs) or * for all files)
Folder
Entry activation on folders
Background
Entry activation on directory backgrounds
Trait Implementations§
Source§impl Clone for ActivationType
impl Clone for ActivationType
Source§fn clone(&self) -> ActivationType
fn clone(&self) -> ActivationType
Returns a duplicate 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