pub struct ChatInput {
pub placeholder: String,
pub value: String,
pub disabled: bool,
pub multiline: bool,
pub rows: i32,
}Fields§
§placeholder: String§value: String§disabled: bool§multiline: bool§rows: i32Implementations§
Source§impl ChatInput
impl ChatInput
pub fn new() -> ChatInput
pub fn placeholder(self, placeholder: String) -> ChatInput
pub fn value(self, value: String) -> ChatInput
pub fn disabled(self, disabled: bool) -> ChatInput
pub fn multiline(self, multiline: bool) -> ChatInput
pub fn rows(self, rows: i32) -> ChatInput
Trait Implementations§
impl Eq for ChatInput
impl StructuralPartialEq for ChatInput
Auto Trait Implementations§
impl Freeze for ChatInput
impl RefUnwindSafe for ChatInput
impl Send for ChatInput
impl Sync for ChatInput
impl Unpin for ChatInput
impl UnwindSafe for ChatInput
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