Struct ybc::TextAreaProps
source · pub struct TextAreaProps {
pub name: String,
pub value: String,
pub update: Callback<String>,
pub classes: 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: 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§
source§impl Clone for TextAreaProps
impl Clone for TextAreaProps
source§fn clone(&self) -> TextAreaProps
fn clone(&self) -> TextAreaProps
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TextAreaProps
impl Debug for TextAreaProps
source§impl PartialEq<TextAreaProps> for TextAreaProps
impl PartialEq<TextAreaProps> for TextAreaProps
source§fn eq(&self, other: &TextAreaProps) -> bool
fn eq(&self, other: &TextAreaProps) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Properties for TextAreaProps
impl Properties for TextAreaProps
impl StructuralPartialEq for TextAreaProps
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.