[−][src]Struct ransid::State
Fields
x: usize
y: usize
save_x: usize
save_y: usize
w: usize
h: usize
top_margin: usize
bottom_margin: usize
g0: char
g1: char
foreground: Color
background: Color
foreground_default: Color
background_default: Color
bold: bool
inverted: bool
italic: bool
underlined: bool
strikethrough: bool
cursor: bool
redraw: bool
origin: bool
autowrap: bool
mouse_vt200: bool
mouse_btn: bool
mouse_sgr: bool
mouse_rxvt: bool
Methods
impl State
[src]
pub fn new(w: usize, h: usize) -> State
[src]
pub fn print<F: FnMut(Event)>(&mut self, c: char, callback: &mut F)
[src]
pub fn execute<F: FnMut(Event)>(&mut self, c: char, _callback: &mut F)
[src]
pub fn csi<F: FnMut(Event)>(
&mut self,
c: char,
params: &[i64],
_intermediates: &[u8],
callback: &mut F
)
[src]
&mut self,
c: char,
params: &[i64],
_intermediates: &[u8],
callback: &mut F
)
pub fn esc<F: FnMut(Event)>(
&mut self,
c: char,
_params: &[i64],
intermediates: &[u8],
callback: &mut F
)
[src]
&mut self,
c: char,
_params: &[i64],
intermediates: &[u8],
callback: &mut F
)
pub fn osc<F: FnMut(Event)>(&mut self, params: &[&[u8]], callback: &mut F)
[src]
Auto Trait Implementations
impl Sync for State
impl Send for State
impl Unpin for State
impl RefUnwindSafe for State
impl UnwindSafe for State
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,