[−][src]Struct yew_router::components::Props
Properties for RouterButton
and RouterLink
.
Fields
route: SW
The Switched item representing the route.
text: String
👎 Deprecated:
Use children field instead (nested html)
The text to display.
children: Children
Html inside the component.
disabled: bool
Disable the component.
classes: String
Classes to be added to component.
Trait Implementations
impl<SW: Clone> Clone for Props<SW> where
SW: Switch + Clone,
[src]
SW: Switch + Clone,
impl<SW: Debug> Debug for Props<SW> where
SW: Switch + Clone,
[src]
SW: Switch + Clone,
impl<SW: Default> Default for Props<SW> where
SW: Switch + Clone,
[src]
SW: Switch + Clone,
impl<SW> Properties for Props<SW> where
SW: Switch + Clone,
[src]
SW: Switch + Clone,
Auto Trait Implementations
impl<SW> !RefUnwindSafe for Props<SW>
impl<SW> !Send for Props<SW>
impl<SW> !Sync for Props<SW>
impl<SW> Unpin for Props<SW> where
SW: Unpin,
SW: Unpin,
impl<SW> !UnwindSafe for Props<SW>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,