Struct text_terminal::StatusReportCommands
source · pub struct StatusReportCommands;
Implementations§
source§impl StatusReportCommands
impl StatusReportCommands
sourcepub const DeviceStatusRequest: u8 = 53u8
pub const DeviceStatusRequest: u8 = 53u8
(DSR) Queries the terminal device for its status.
A reply of "ESC [ 0 n"
indicates the terminal is okay.
sourcepub const DeviceStatusOk: u8 = 48u8
pub const DeviceStatusOk: u8 = 48u8
The response to a DeviceStatusRequest
indicating the terminal device is Ok.
sourcepub const CursosPositionReport: u8 = 54u8
pub const CursosPositionReport: u8 = 54u8
(CSR) Queries the terminal device for a cursor position report.
A reply will be "ESC [ y ; x R"
, in which (x,y)
is the cursor position.
Auto Trait Implementations§
impl RefUnwindSafe for StatusReportCommands
impl Send for StatusReportCommands
impl Sync for StatusReportCommands
impl Unpin for StatusReportCommands
impl UnwindSafe for StatusReportCommands
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