[][src]Struct ybc::TextAreaProps

pub struct TextAreaProps {
    pub name: String,
    pub value: String,
    pub update: Callback<String>,
    pub classes: Option<String>,
    pub placeholder: String,
    pub rows: u32,
    pub size: Option<Size>,
    pub fixed_size: bool,
    pub loading: bool,
    pub disabled: bool,
    pub readonly: bool,
    pub static: bool,
}

Fields

name: String

The name attribute for this form element.

value: String

The controlled value of this form element.

update: Callback<String>

The callback to be used for propagating changes to this element's value.

classes: Option<String>placeholder: String

The placeholder value for this component.

rows: u32

The number of rows to which this component will be locked.

size: Option<Size>

The size of this component.

fixed_size: bool

Fix the size of this component.

loading: bool

Display a loading spinner within this component.

disabled: bool

Disable this component.

readonly: bool

Make this component read-only.

static: bool

Make this component static.

Trait Implementations

impl Clone for TextAreaProps[src]

impl Debug for TextAreaProps[src]

impl PartialEq<TextAreaProps> for TextAreaProps[src]

impl Properties for TextAreaProps[src]

type Builder = TextAreaPropsBuilder<TextAreaPropsBuilderStep_missing_required_prop_name>

Builder that will be used to construct properties

impl StructuralPartialEq for TextAreaProps[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, 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.