pub struct TextareaBuilder {
pub label: Option<&'static str>,
pub placeholder: Option<&'static str>,
pub rows: Option<usize>,
pub value: Option<Signal<String>>,
pub disabled: Option<bool>,
pub class: Option<&'static str>,
pub children: Option<Vec<NodeBlueprint>>,
pub __strata_key: Option<String>,
}Fields§
§label: Option<&'static str>§placeholder: Option<&'static str>§rows: Option<usize>§value: Option<Signal<String>>§disabled: Option<bool>§class: Option<&'static str>§children: Option<Vec<NodeBlueprint>>§__strata_key: Option<String>Implementations§
Source§impl TextareaBuilder
impl TextareaBuilder
pub fn label(self, val: impl Into<Option<&'static str>>) -> Self
pub fn placeholder(self, val: impl Into<Option<&'static str>>) -> Self
pub fn rows(self, val: impl Into<Option<usize>>) -> Self
pub fn value(self, val: impl Into<Option<Signal<String>>>) -> Self
pub fn disabled(self, val: impl Into<Option<bool>>) -> Self
pub fn class(self, val: impl Into<Option<&'static str>>) -> Self
pub fn children(self, children: Vec<NodeBlueprint>) -> Self
pub fn key(self, key: impl Display) -> Self
pub fn build(self) -> View
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TextareaBuilder
impl !Send for TextareaBuilder
impl !Sync for TextareaBuilder
impl !UnwindSafe for TextareaBuilder
impl Forget for TextareaBuilder
impl Freeze for TextareaBuilder
impl Move for TextareaBuilder
impl Unpin for TextareaBuilder
impl UnsafeUnpin for TextareaBuilder
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