Struct terminal2::TerminalContent
source · pub struct TerminalContent {
pub cells: Vec<IndexedCell>,
pub mode: TermMode,
pub display_offset: usize,
pub selection_text: Option<String>,
pub selection: Option<SelectionRange>,
pub cursor: RenderableCursor,
pub cursor_char: char,
pub size: TerminalSize,
pub last_hovered_word: Option<HoveredWord>,
}
Fields§
§cells: Vec<IndexedCell>
§mode: TermMode
§display_offset: usize
§selection_text: Option<String>
§selection: Option<SelectionRange>
§cursor: RenderableCursor
§cursor_char: char
§size: TerminalSize
§last_hovered_word: Option<HoveredWord>
Trait Implementations§
source§impl Clone for TerminalContent
impl Clone for TerminalContent
source§fn clone(&self) -> TerminalContent
fn clone(&self) -> TerminalContent
Returns a copy 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 RefUnwindSafe for TerminalContent
impl Send for TerminalContent
impl Sync for TerminalContent
impl Unpin for TerminalContent
impl UnwindSafe for TerminalContent
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