pub struct InlineStrategyFallback {
pub from: InlineStrategy,
pub reason: &'static str,
pub observed_row: Option<u16>,
pub expected_row: u16,
pub rows: u16,
pub region_bottom: u16,
}Expand description
A strategy downgrade forced by the DECSTBM self-test
(TerminalWriter::set_scroll_region_verified).
Fields§
§from: InlineStrategyStrategy selected from capabilities before the test.
reason: &'static strcpr_mismatch (the cursor left the region) or cpr_timeout (no
cursor-position report arrived).
observed_row: Option<u16>Row the terminal reported, if it answered.
expected_row: u16Row a terminal that honours the region reports.
rows: u16Terminal height at the time of the test.
region_bottom: u16Last row of the tested scroll region.
Implementations§
Trait Implementations§
Source§impl Clone for InlineStrategyFallback
impl Clone for InlineStrategyFallback
Source§impl Debug for InlineStrategyFallback
impl Debug for InlineStrategyFallback
impl Eq for InlineStrategyFallback
Source§impl PartialEq for InlineStrategyFallback
impl PartialEq for InlineStrategyFallback
impl StructuralPartialEq for InlineStrategyFallback
Auto Trait Implementations§
impl Freeze for InlineStrategyFallback
impl RefUnwindSafe for InlineStrategyFallback
impl Send for InlineStrategyFallback
impl Sync for InlineStrategyFallback
impl Unpin for InlineStrategyFallback
impl UnsafeUnpin for InlineStrategyFallback
impl UnwindSafe for InlineStrategyFallback
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