pub enum TaskOrScript<'a> {
Task(&'a IndexMap<String, TaskDefinition>, &'a TaskDefinition),
Script(&'a IndexMap<String, String>, &'a str),
}
Variants§
Task(&'a IndexMap<String, TaskDefinition>, &'a TaskDefinition)
A task from a deno.json.
Script(&'a IndexMap<String, String>, &'a str)
A script from a package.json.
Auto Trait Implementations§
impl<'a> Freeze for TaskOrScript<'a>
impl<'a> RefUnwindSafe for TaskOrScript<'a>
impl<'a> Send for TaskOrScript<'a>
impl<'a> Sync for TaskOrScript<'a>
impl<'a> Unpin for TaskOrScript<'a>
impl<'a> UnwindSafe for TaskOrScript<'a>
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