Enum dioxus_router::components::IntoRoutable
source · pub enum IntoRoutable {
FromStr(String),
Route(Rc<dyn Any>),
}Expand description
Something that can be converted into a NavigationTarget.
Variants§
Trait Implementations§
source§impl Clone for IntoRoutable
impl Clone for IntoRoutable
source§fn clone(&self) -> IntoRoutable
fn clone(&self) -> IntoRoutable
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl From<&String> for IntoRoutable
impl From<&String> for IntoRoutable
source§impl From<&str> for IntoRoutable
impl From<&str> for IntoRoutable
source§fn from(value: NavigationTarget<R>) -> Self
fn from(value: NavigationTarget<R>) -> Self
Converts to this type from the input type.
source§impl<R: Routable> From<R> for IntoRoutable
impl<R: Routable> From<R> for IntoRoutable
Auto Trait Implementations§
impl !RefUnwindSafe for IntoRoutable
impl !Send for IntoRoutable
impl !Sync for IntoRoutable
impl Unpin for IntoRoutable
impl !UnwindSafe for IntoRoutable
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
source§impl<T> FromQuery for Twhere
T: for<'a> From<&'a str>,
impl<T> FromQuery for Twhere T: for<'a> From<&'a str>,
source§fn from_query(query: &str) -> T
fn from_query(query: &str) -> T
Create an instance of
Self from a query string