pub enum Navigation {
Stay,
Browser,
Refuse,
}Expand description
What the window does with a navigation.
Variants§
Stay
One of the app’s own places: the window goes there.
Browser
A web page elsewhere: the window stays, the person’s browser opens it.
Refuse
Anything else (file:, javascript:, data:, another app’s scheme): nothing happens.
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