Struct dioxus_router::RouteProps
source · [−]Expand description
Props for the Route component.
Fields
to: &'a strThe path to match.
children: Element<'a>The component to render when the path matches.
Implementations
sourceimpl<'a> RouteProps<'a>
impl<'a> RouteProps<'a>
Trait Implementations
sourceimpl<'a> Properties for RouteProps<'a>
impl<'a> Properties for RouteProps<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for RouteProps<'a>
impl<'a> !Send for RouteProps<'a>
impl<'a> !Sync for RouteProps<'a>
impl<'a> Unpin for RouteProps<'a>
impl<'a> !UnwindSafe for RouteProps<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more