pub struct TextareaProps {
pub size: Size,
pub resize: ResizeMode,
pub disabled: bool,
pub readonly: bool,
pub required: bool,
pub placeholder: Option<String>,
pub rows: Option<u32>,
pub class: Option<String>,
pub aria_label: Option<String>,
pub id: Option<String>,
}Expand description
Properties for the styled Textarea component.
Fields§
§size: Size§resize: ResizeMode§disabled: bool§readonly: bool§required: bool§placeholder: Option<String>§rows: Option<u32>§class: Option<String>§aria_label: Option<String>§id: Option<String>Trait Implementations§
Source§impl Clone for TextareaProps
impl Clone for TextareaProps
Source§fn clone(&self) -> TextareaProps
fn clone(&self) -> TextareaProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Default for TextareaProps
impl Default for TextareaProps
Source§fn default() -> TextareaProps
fn default() -> TextareaProps
Returns the “default value” for a type. Read more
Source§impl PartialEq for TextareaProps
impl PartialEq for TextareaProps
Source§fn eq(&self, other: &TextareaProps) -> bool
fn eq(&self, other: &TextareaProps) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TextareaProps
Auto Trait Implementations§
impl Freeze for TextareaProps
impl RefUnwindSafe for TextareaProps
impl Send for TextareaProps
impl Sync for TextareaProps
impl Unpin for TextareaProps
impl UnsafeUnpin 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