Struct ybc::TextAreaProps [−][src]
pub struct TextAreaProps { pub name: String, pub value: String, pub update: Callback<String>, pub classes: Option<Classes>, 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<Classes>
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for TextAreaProps
impl !Send for TextAreaProps
impl !Sync for TextAreaProps
impl Unpin for TextAreaProps
impl !UnwindSafe for TextAreaProps
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an optional value of a Properties
struct.
Convert self
to a value of a Properties
struct.
Convert self
to a value of a Properties
struct.
If self
and new
aren’t equal, assigns new
to self
and returns true, otherwise returns false. Read more
impl<T> Any for T where
T: Any,