pub struct MinibufferHistoryRow<'a> {
pub time: &'a str,
pub message: &'a str,
pub kind: Option<FeedbackKind>,
}Fields§
§time: &'a str§message: &'a str§kind: Option<FeedbackKind>Implementations§
Source§impl<'a> MinibufferHistoryRow<'a>
impl<'a> MinibufferHistoryRow<'a>
pub const fn new(time: &'a str, message: &'a str) -> Self
pub const fn with_feedback(self, feedback: FeedbackKind) -> Self
pub fn class_name(&self) -> &'static str
Trait Implementations§
Source§impl<'a> Clone for MinibufferHistoryRow<'a>
impl<'a> Clone for MinibufferHistoryRow<'a>
Source§fn clone(&self) -> MinibufferHistoryRow<'a>
fn clone(&self) -> MinibufferHistoryRow<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for MinibufferHistoryRow<'a>
impl<'a> Debug for MinibufferHistoryRow<'a>
Source§impl<'a> PartialEq for MinibufferHistoryRow<'a>
impl<'a> PartialEq for MinibufferHistoryRow<'a>
Source§fn eq(&self, other: &MinibufferHistoryRow<'a>) -> bool
fn eq(&self, other: &MinibufferHistoryRow<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> Copy for MinibufferHistoryRow<'a>
impl<'a> Eq for MinibufferHistoryRow<'a>
impl<'a> StructuralPartialEq for MinibufferHistoryRow<'a>
Auto Trait Implementations§
impl<'a> Freeze for MinibufferHistoryRow<'a>
impl<'a> RefUnwindSafe for MinibufferHistoryRow<'a>
impl<'a> Send for MinibufferHistoryRow<'a>
impl<'a> Sync for MinibufferHistoryRow<'a>
impl<'a> Unpin for MinibufferHistoryRow<'a>
impl<'a> UnsafeUnpin for MinibufferHistoryRow<'a>
impl<'a> UnwindSafe for MinibufferHistoryRow<'a>
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