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§fn clone(&self) -> InlineStrategyFallback
fn clone(&self) -> InlineStrategyFallback
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 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.