pub struct RouteNavigationStarted {
pub path: String,
pub route_pattern: Option<&'static str>,
pub component: Option<&'static str>,
}Expand description
Emitted before the router tries to paint the current URL.
path is read from window.location.pathname and is therefore
owned. route_pattern and component reference the static route
registry.
Fields§
§path: String§route_pattern: Option<&'static str>§component: Option<&'static str>Trait Implementations§
Source§fn clone(&self) -> RouteNavigationStarted
fn clone(&self) -> RouteNavigationStarted
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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