pub enum NavOutput {
Announce,
Path,
}Expand description
How a navigation command reports where it landed.
Variants§
Announce
Announce the switch on stdout - the default.
Path
Print only the destination directory on stdout, so cd "$(git stk up --from-path)" moves the caller’s shell. Everything else goes to stderr.
Trait Implementations§
Auto Trait Implementations§
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