pub struct ScreenCaptureRange {
pub start: Option<i64>,
pub end: Option<i64>,
pub start_is_absolute: bool,
pub end_is_absolute: bool,
}Expand description
tmux-compatible capture bounds over history plus visible rows.
Fields§
§start: Option<i64>Optional start value relative to the history size.
end: Option<i64>Optional end value relative to the history size.
start_is_absolute: boolWhether start used the - sentinel for absolute history start.
end_is_absolute: boolWhether end used the - sentinel for absolute capture end.
Implementations§
Trait Implementations§
Source§impl Clone for ScreenCaptureRange
impl Clone for ScreenCaptureRange
Source§fn clone(&self) -> ScreenCaptureRange
fn clone(&self) -> ScreenCaptureRange
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 moreimpl Copy for ScreenCaptureRange
Source§impl Debug for ScreenCaptureRange
impl Debug for ScreenCaptureRange
Source§impl Default for ScreenCaptureRange
impl Default for ScreenCaptureRange
Source§fn default() -> ScreenCaptureRange
fn default() -> ScreenCaptureRange
Returns the “default value” for a type. Read more
impl Eq for ScreenCaptureRange
Source§impl PartialEq for ScreenCaptureRange
impl PartialEq for ScreenCaptureRange
impl StructuralPartialEq for ScreenCaptureRange
Auto Trait Implementations§
impl Freeze for ScreenCaptureRange
impl RefUnwindSafe for ScreenCaptureRange
impl Send for ScreenCaptureRange
impl Sync for ScreenCaptureRange
impl Unpin for ScreenCaptureRange
impl UnsafeUnpin for ScreenCaptureRange
impl UnwindSafe for ScreenCaptureRange
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