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<&Url> for IntoRoutable
impl From<&Url> 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
source§impl From<String> for IntoRoutable
impl From<String> for IntoRoutable
source§impl From<Url> for IntoRoutable
impl From<Url> for IntoRoutable
Auto Trait Implementations§
impl Freeze for IntoRoutable
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 T
impl<T> FromQuery for T
source§fn from_query(query: &str) -> T
fn from_query(query: &str) -> T
Create an instance of
Self from a query string.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
source§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.