[][src]Struct yew_styles::button::Props

pub struct Props {
    pub button_palette: Palette,
    pub class_name: String,
    pub id: String,
    pub code_ref: NodeRef,
    pub key: String,
    pub button_size: Size,
    pub button_style: Style,
    pub onclick_signal: Callback<MouseEvent>,
    pub children: Children,
}

Fields

button_palette: Palette

Type botton style. Options included in Pallete

class_name: String

General property to add custom class styles

id: String

General property to add custom id

code_ref: NodeRef

General property to get the ref of the component

key: String

General property to add keys

button_size: Size

Three diffent button standard sizes. Options included in Size

button_style: Style

Button styles. Options included in Style

onclick_signal: Callback<MouseEvent>

Click event for button. Required

children: Children

Trait Implementations

impl Clone for Props[src]

impl Properties for Props[src]

type Builder = PropsBuilder<PropsBuilderStep_missing_required_prop_onclick_signal>

Builder that will be used to construct properties

Auto Trait Implementations

impl !RefUnwindSafe for Props

impl !Send for Props

impl !Sync for Props

impl Unpin for Props

impl !UnwindSafe for Props

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> 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,