pub struct Textarea {
pub value: String,
pub placeholder: String,
pub rows: i32,
pub disabled: bool,
pub readonly: bool,
pub max_length: i32,
pub resize: TextareaResize,
pub class: String,
}Fields§
§value: String§placeholder: String§rows: i32§disabled: bool§readonly: bool§max_length: i32§resize: TextareaResize§class: StringImplementations§
Source§impl Textarea
impl Textarea
pub fn new() -> Textarea
pub fn value(self, value: String) -> Textarea
pub fn placeholder(self, placeholder: String) -> Textarea
pub fn rows(self, rows: i32) -> Textarea
pub fn disabled(self, disabled: bool) -> Textarea
pub fn readonly(self, readonly: bool) -> Textarea
pub fn max_length(self, max_length: i32) -> Textarea
pub fn resize(self, resize: TextareaResize) -> Textarea
pub fn class(self, class: String) -> Textarea
pub fn render(&self) -> String
Trait Implementations§
impl StructuralPartialEq for Textarea
Auto Trait Implementations§
impl Freeze for Textarea
impl RefUnwindSafe for Textarea
impl Send for Textarea
impl Sync for Textarea
impl Unpin for Textarea
impl UnwindSafe for Textarea
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