pub struct SavedState { /* private fields */ }Expand description
Saved state for DECSC/DECRC.
Implementations§
Source§impl SavedState
impl SavedState
Sourcepub const fn cursor_position(&self) -> (u32, u32)
pub const fn cursor_position(&self) -> (u32, u32)
Returns the cursor saved by DECSC/SCP.
Sourcepub const fn origin_mode(&self) -> bool
pub const fn origin_mode(&self) -> bool
Returns whether origin mode was active at save time.
Trait Implementations§
Source§impl Clone for SavedState
impl Clone for SavedState
Source§fn clone(&self) -> SavedState
fn clone(&self) -> SavedState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SavedState
impl Debug for SavedState
Source§impl Default for SavedState
impl Default for SavedState
Source§fn default() -> SavedState
fn default() -> SavedState
Returns the “default value” for a type. Read more
impl Eq for SavedState
Source§impl PartialEq for SavedState
impl PartialEq for SavedState
impl StructuralPartialEq for SavedState
Auto Trait Implementations§
impl Freeze for SavedState
impl RefUnwindSafe for SavedState
impl Send for SavedState
impl Sync for SavedState
impl Unpin for SavedState
impl UnsafeUnpin for SavedState
impl UnwindSafe for SavedState
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