Struct ymc::radio::RadioProps[][src]

pub struct RadioProps {
    pub checked: bool,
    pub disabled: bool,
    pub name: String,
    pub value: String,
    pub global: bool,
    pub reduced_touch_target: bool,
    pub onchange: Callback<bool>,
}

Props for Radio

Documentation:

Fields

checked: booldisabled: boolname: Stringvalue: Stringglobal: boolreduced_touch_target: boolonchange: Callback<bool>

Binds to change.

Callback’s parameter of type denotes if the radio is checked or not.

See events docs to learn more.

Trait Implementations

impl Clone for RadioProps[src]

impl PartialEq<RadioProps> for RadioProps[src]

impl Properties for RadioProps[src]

type Builder = RadioPropsBuilder<RadioPropsBuilderStep_build>

Builder that will be used to construct properties

impl StructuralPartialEq for RadioProps[src]

Auto Trait Implementations

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.