pub struct ChatInput { /* private fields */ }Implementations§
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§
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