pub enum RouterMsg<P> {
Navigate(P),
Back,
Forward,
Replace(P),
ClearHistory,
}Expand description
Messages for router operations
Variants§
Navigate to a new page
Back
Go back in history
Forward
Go forward in history
Replace(P)
Replace current page without adding to history
ClearHistory
Clear all history
Trait Implementations§
impl<P> StructuralPartialEq for RouterMsg<P>
Auto Trait Implementations§
impl<P> Freeze for RouterMsg<P>where
P: Freeze,
impl<P> RefUnwindSafe for RouterMsg<P>where
P: RefUnwindSafe,
impl<P> Send for RouterMsg<P>where
P: Send,
impl<P> Sync for RouterMsg<P>where
P: Sync,
impl<P> Unpin for RouterMsg<P>where
P: Unpin,
impl<P> UnsafeUnpin for RouterMsg<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for RouterMsg<P>where
P: UnwindSafe,
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