[][src]Struct ybc::ButtonRouterProps

pub struct ButtonRouterProps<SW: Switch + Clone + PartialEq + 'static> {
    pub route: SW,
    pub children: Children,
    pub classes: Option<String>,
    pub loading: bool,
    pub static: bool,
    pub disabled: bool,
}

Fields

route: SW

The Switched item representing the route.

children: Children

Html inside the component.

classes: Option<String>

Classes to be added to component.

loading: bool

Render a loading spinner within this component.

static: bool

Make this component static.

disabled: bool

Disable this component.

Trait Implementations

impl<SW: Clone + Switch + PartialEq + 'static> Clone for ButtonRouterProps<SW>[src]

impl<SW: PartialEq + Switch + Clone + 'static> PartialEq<ButtonRouterProps<SW>> for ButtonRouterProps<SW>[src]

impl<SW: Switch + Clone + PartialEq + 'static> Properties for ButtonRouterProps<SW>[src]

type Builder = ButtonRouterPropsBuilder<SW, ButtonRouterPropsBuilderStep_missing_required_prop_route>

Builder that will be used to construct properties

impl<SW: Switch + Clone + PartialEq + 'static> StructuralPartialEq for ButtonRouterProps<SW>[src]

Auto Trait Implementations

impl<SW> !RefUnwindSafe for ButtonRouterProps<SW>

impl<SW> !Send for ButtonRouterProps<SW>

impl<SW> !Sync for ButtonRouterProps<SW>

impl<SW> Unpin for ButtonRouterProps<SW> where
    SW: Unpin

impl<SW> !UnwindSafe for ButtonRouterProps<SW>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Clone + Any

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> NeqAssign<U> for T where
    T: BorrowMut<U>,
    U: PartialEq<U>, 
[src]

impl<T, U> NeqAssignBy<U> for T where
    T: BorrowMut<U>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.