pub struct State {Show 27 fields
pub x: usize,
pub y: usize,
pub save_x: usize,
pub save_y: usize,
pub w: usize,
pub h: usize,
pub top_margin: usize,
pub bottom_margin: usize,
pub g0: char,
pub g1: char,
pub foreground: Color,
pub background: Color,
pub foreground_default: Color,
pub background_default: Color,
pub bold: bool,
pub inverted: bool,
pub italic: bool,
pub underlined: bool,
pub strikethrough: bool,
pub cursor: bool,
pub redraw: bool,
pub origin: bool,
pub autowrap: bool,
pub mouse_vt200: bool,
pub mouse_btn: bool,
pub mouse_sgr: bool,
pub mouse_rxvt: bool,
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.