pub enum SpawnMode {
Hints(HintsVars),
Command(CommandVars),
}
Expand description
The method by which the userscript was launched, either hints
(started via hints)
or command
(started via command or key binding).
Variants§
Hints(HintsVars)
Indicates that the userscript was started via hints.
Command(CommandVars)
Indicates that the userscript was started via command or key binding.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpawnMode
impl RefUnwindSafe for SpawnMode
impl Send for SpawnMode
impl Sync for SpawnMode
impl Unpin for SpawnMode
impl UnwindSafe for SpawnMode
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