pub enum Mode<'a> {
Interactive(&'a mut dyn RenamePrompt),
Hints,
}Expand description
How unanswered questions are handled.
Variants§
Interactive(&'a mut dyn RenamePrompt)
Ask each one.
Hints
Collect them as missing hints (drizzle-kit’s non-interactive mode).
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Mode<'a>
impl<'a> !Send for Mode<'a>
impl<'a> !Sync for Mode<'a>
impl<'a> !UnwindSafe for Mode<'a>
impl<'a> Freeze for Mode<'a>
impl<'a> Unpin for Mode<'a>
impl<'a> UnsafeUnpin for Mode<'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