pub struct MessageList {
pub messages: Vec<String>,
pub height: String,
pub auto_scroll: bool,
}Fields§
§messages: Vec<String>§height: String§auto_scroll: boolImplementations§
Source§impl MessageList
impl MessageList
pub fn new() -> MessageList
pub fn message(self, message: String) -> MessageList
pub fn height(self, height: String) -> MessageList
pub fn auto_scroll(self, auto_scroll: bool) -> MessageList
Trait Implementations§
Source§impl Clone for MessageList
impl Clone for MessageList
Source§fn clone(&self) -> MessageList
fn clone(&self) -> MessageList
Returns a duplicate of the value. Read more
1.0.0 · 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 MessageList
impl Debug for MessageList
Source§impl Default for MessageList
impl Default for MessageList
Source§fn default() -> MessageList
fn default() -> MessageList
Returns the “default value” for a type. Read more
Source§impl Renderable for MessageList
impl Renderable for MessageList
Auto Trait Implementations§
impl Freeze for MessageList
impl RefUnwindSafe for MessageList
impl Send for MessageList
impl Sync for MessageList
impl Unpin for MessageList
impl UnwindSafe for MessageList
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