pub struct RichLogEntry {
pub segments: Vec<(String, Style)>,
}Expand description
A single entry in a RichLog.
Fields§
§segments: Vec<(String, Style)>Styled text segments for this entry.
Trait Implementations§
Source§impl Clone for RichLogEntry
impl Clone for RichLogEntry
Source§fn clone(&self) -> RichLogEntry
fn clone(&self) -> RichLogEntry
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 moreAuto Trait Implementations§
impl Freeze for RichLogEntry
impl RefUnwindSafe for RichLogEntry
impl Send for RichLogEntry
impl Sync for RichLogEntry
impl Unpin for RichLogEntry
impl UnsafeUnpin for RichLogEntry
impl UnwindSafe for RichLogEntry
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