pub enum Nav {
To(String),
Replace(String),
Back,
Forward,
}Expand description
One navigation asked for by a script: where to go, or which way along the history that has already been walked.
Variants§
To(String)
Replace(String)
Go there instead of here: the current entry is overwritten rather than added to, so Back skips the page that redirected.
Back
Forward
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