pub struct TermCursor {
pub at: (u16, u16),
pub on: Cell,
pub off: Cell,
pub shape: CursorShape,
pub blinks: bool,
}Expand description
A terminal pane’s cursor as its session drew it: its cell inverted (on), and that cell’s
own look (off), which is what shows in the half of a blink the cursor is away, and on the
cell tier, where the terminal’s own cursor stands there instead. blinks is whether its
program left it blinking: DECSCUSR 2, 4 or 6, or CSI ? 12 l, asks for a steady one.
Fields§
§at: (u16, u16)§on: Cell§off: Cell§shape: CursorShape§blinks: boolTrait Implementations§
Source§impl Clone for TermCursor
impl Clone for TermCursor
Source§impl Debug for TermCursor
impl Debug for TermCursor
impl Eq for TermCursor
Source§impl PartialEq for TermCursor
impl PartialEq for TermCursor
impl StructuralPartialEq for TermCursor
Auto Trait Implementations§
impl Forget for TermCursor
impl Freeze for TermCursor
impl Move for TermCursor
impl RefUnwindSafe for TermCursor
impl Send for TermCursor
impl Sync for TermCursor
impl Unpin for TermCursor
impl UnsafeUnpin for TermCursor
impl UnwindSafe for TermCursor
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