pub struct ModeReportMsg {
pub mode: u32,
pub value: u32,
}Expand description
ModeReportMsg is a message that represents a mode report event (DECRPM).
This is sent by the terminal in response to a request for a terminal mode report (DECRQM). It indicates the current setting of a specific terminal mode like cursor visibility, mouse tracking, etc.
Fields§
§mode: u32Mode is the mode number.
value: u32Value is the mode setting value.
Trait Implementations§
Source§impl Clone for ModeReportMsg
impl Clone for ModeReportMsg
Source§fn clone(&self) -> ModeReportMsg
fn clone(&self) -> ModeReportMsg
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 ModeReportMsg
Source§impl Debug for ModeReportMsg
impl Debug for ModeReportMsg
impl Eq for ModeReportMsg
Source§impl PartialEq for ModeReportMsg
impl PartialEq for ModeReportMsg
impl StructuralPartialEq for ModeReportMsg
Auto Trait Implementations§
impl Freeze for ModeReportMsg
impl RefUnwindSafe for ModeReportMsg
impl Send for ModeReportMsg
impl Sync for ModeReportMsg
impl Unpin for ModeReportMsg
impl UnsafeUnpin for ModeReportMsg
impl UnwindSafe for ModeReportMsg
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