Struct dioxus_router::components::RouterProps
source · pub struct RouterProps<R: Routable>{ /* private fields */ }Expand description
The props for Router.
Implementations§
source§impl<R: Routable> RouterProps<R>
impl<R: Routable> RouterProps<R>
Trait Implementations§
source§impl<T: Routable> Clone for RouterProps<T>
impl<T: Routable> Clone for RouterProps<T>
source§impl<R: Routable> Default for RouterProps<R>
impl<R: Routable> Default for RouterProps<R>
source§impl<R: Routable> PartialEq for RouterProps<R>
impl<R: Routable> PartialEq for RouterProps<R>
source§impl<R: Routable> Properties for RouterProps<R>
impl<R: Routable> Properties for RouterProps<R>
§type Builder = RouterPropsBuilder<((),), R>
type Builder = RouterPropsBuilder<((),), R>
The type of the builder for this component.
Used to create “in-progress” versions of the props.
source§fn memoize(&mut self, new: &Self) -> bool
fn memoize(&mut self, new: &Self) -> bool
Make the old props equal to the new props. Return if the props were equal and should be memoized.
source§fn into_vcomponent<M>(
self,
render_fn: impl ComponentFunction<Self, M>,
component_name: &'static str
) -> VComponentwhere
M: 'static,
fn into_vcomponent<M>(
self,
render_fn: impl ComponentFunction<Self, M>,
component_name: &'static str
) -> VComponentwhere
M: 'static,
Create a component from the props.
Auto Trait Implementations§
impl<R> Freeze for RouterProps<R>
impl<R> !RefUnwindSafe for RouterProps<R>
impl<R> !Send for RouterProps<R>
impl<R> !Sync for RouterProps<R>
impl<R> Unpin for RouterProps<R>
impl<R> !UnwindSafe for RouterProps<R>
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> 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.