pub struct StaticRouterProps<R, F>{ /* private fields */ }
Expand description
Props for StaticRouter
.
Implementations§
Source§impl<R, F> StaticRouterProps<R, F>
impl<R, F> StaticRouterProps<R, F>
Sourcepub fn new(route: R, view: F) -> Self
pub fn new(route: R, view: F) -> Self
Create a new StaticRouterProps
.
Trait Implementations§
Source§impl<R, F> Debug for StaticRouterProps<R, F>
impl<R, F> Debug for StaticRouterProps<R, F>
Auto Trait Implementations§
impl<R, F> Freeze for StaticRouterProps<R, F>
impl<R, F> RefUnwindSafe for StaticRouterProps<R, F>where
F: RefUnwindSafe,
R: RefUnwindSafe,
impl<R, F> Send for StaticRouterProps<R, F>
impl<R, F> Sync for StaticRouterProps<R, F>
impl<R, F> Unpin for StaticRouterProps<R, F>
impl<R, F> UnwindSafe for StaticRouterProps<R, F>where
F: UnwindSafe,
R: 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