#[non_exhaustive]pub enum SettingReport {
Unrecognized,
CursorStyle(CursorStyle),
Raw(String),
}Expand description
The payload of a DECRPSS reply, Event::SettingReport.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unrecognized
The terminal did not recognize the requested setting (DCS 0 $ r ST).
The reply carries no data at all, so only the request that provoked it
says which setting was turned down.
CursorStyle(CursorStyle)
The cursor style the terminal is using, from a DECRPSS reply
reporting its DECSCUSR setting. Ask for it with
Program::request_cursor_style.
Raw(String)
The setting as the terminal spelled it, for a control function this
library does not decode: the whole CSI sequence without its
introducer, so 0;1m for SGR or >4;2m for xterm’s XTQMODKEYS.
Trait Implementations§
Source§impl Clone for SettingReport
impl Clone for SettingReport
Source§fn clone(&self) -> SettingReport
fn clone(&self) -> SettingReport
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 SettingReport
impl Debug for SettingReport
impl Eq for SettingReport
Source§impl PartialEq for SettingReport
impl PartialEq for SettingReport
impl StructuralPartialEq for SettingReport
Auto Trait Implementations§
impl Freeze for SettingReport
impl RefUnwindSafe for SettingReport
impl Send for SettingReport
impl Sync for SettingReport
impl Unpin for SettingReport
impl UnsafeUnpin for SettingReport
impl UnwindSafe for SettingReport
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