pub struct TextareaProps {
pub class: Option<Cow<'static, str>>,
pub placeholder: Option<Cow<'static, str>>,
pub disabled: bool,
pub attrs: AttrMap,
}Expand description
Textarea — maps to CSS class .textarea. No variants.
Fields§
§class: Option<Cow<'static, str>>§placeholder: Option<Cow<'static, str>>§disabled: bool§attrs: AttrMapImplementations§
Source§impl TextareaProps
impl TextareaProps
pub const __BASECOAT_EXTEND_FIELD: Option<&'static str>
Sourcepub fn builder() -> TextareaPropsBuilder
pub fn builder() -> TextareaPropsBuilder
Create a builder for this prop struct.
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 From<TextareaPropsBuilder> for TextareaProps
impl From<TextareaPropsBuilder> for TextareaProps
Source§fn from(b: TextareaPropsBuilder) -> Self
fn from(b: TextareaPropsBuilder) -> Self
Converts to this type from the input type.
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