pub struct TerminalLine {
pub kind: LineKind,
pub text: String,
}Expand description
A single line in a TerminalPane’s scrollback buffer.
Fields§
§kind: LineKindColour/style of the line.
text: StringThe text content. Unused when kind is LineKind::Command.
Implementations§
Trait Implementations§
Source§impl Clone for TerminalLine
impl Clone for TerminalLine
Source§fn clone(&self) -> TerminalLine
fn clone(&self) -> TerminalLine
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 TerminalLine
impl RefUnwindSafe for TerminalLine
impl Send for TerminalLine
impl Sync for TerminalLine
impl Unpin for TerminalLine
impl UnsafeUnpin for TerminalLine
impl UnwindSafe for TerminalLine
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