pub struct SavedCursor {
pub row: u16,
pub col: u16,
pub attrs: SgrAttrs,
pub origin_mode: bool,
pub pending_wrap: bool,
pub charset_slots: [u8; 4],
pub active_charset: u8,
}Expand description
Saved cursor state for DECSC / DECRC.
Captures the full cursor state so it can be restored exactly.
Fields§
§row: u16§col: u16§attrs: SgrAttrs§origin_mode: bool§pending_wrap: bool§charset_slots: [u8; 4]§active_charset: u8Implementations§
Trait Implementations§
Source§impl Clone for SavedCursor
impl Clone for SavedCursor
Source§fn clone(&self) -> SavedCursor
fn clone(&self) -> SavedCursor
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 moreSource§impl Debug for SavedCursor
impl Debug for SavedCursor
Source§impl Default for SavedCursor
impl Default for SavedCursor
Source§fn default() -> SavedCursor
fn default() -> SavedCursor
Returns the “default value” for a type. Read more
Source§impl PartialEq for SavedCursor
impl PartialEq for SavedCursor
impl Eq for SavedCursor
impl StructuralPartialEq for SavedCursor
Auto Trait Implementations§
impl Freeze for SavedCursor
impl RefUnwindSafe for SavedCursor
impl Send for SavedCursor
impl Sync for SavedCursor
impl Unpin for SavedCursor
impl UnwindSafe for SavedCursor
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