pub struct MessageBuffer { /* private fields */ }
Expand description
Storage for message bar.
Implementations§
Source§impl MessageBuffer
impl MessageBuffer
Sourcepub fn new() -> MessageBuffer
pub fn new() -> MessageBuffer
Create new message buffer.
Sourcepub fn remove_target(&mut self, target: &str)
pub fn remove_target(&mut self, target: &str)
Remove all messages with a specific target.
Trait Implementations§
Source§impl Debug for MessageBuffer
impl Debug for MessageBuffer
Source§impl Default for MessageBuffer
impl Default for MessageBuffer
Source§fn default() -> MessageBuffer
fn default() -> MessageBuffer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MessageBuffer
impl RefUnwindSafe for MessageBuffer
impl Send for MessageBuffer
impl Sync for MessageBuffer
impl Unpin for MessageBuffer
impl UnwindSafe for MessageBuffer
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