pub enum ContentRegion {
All,
Screen,
BottomLines(usize),
}Expand description
A section of the screen to dump.
Variants§
All
The whole terminal state, including all scrollback data.
Screen
Only the visible lines.
BottomLines(usize)
The bottom N lines, including (N - height) lines of scrollback.
Trait Implementations§
Source§impl Clone for ContentRegion
impl Clone for ContentRegion
Source§fn clone(&self) -> ContentRegion
fn clone(&self) -> ContentRegion
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 ContentRegion
impl Debug for ContentRegion
Source§impl PartialEq for ContentRegion
impl PartialEq for ContentRegion
impl Eq for ContentRegion
impl StructuralPartialEq for ContentRegion
Auto Trait Implementations§
impl Freeze for ContentRegion
impl RefUnwindSafe for ContentRegion
impl Send for ContentRegion
impl Sync for ContentRegion
impl Unpin for ContentRegion
impl UnwindSafe for ContentRegion
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