Enum ransid::Event
[−]
[src]
pub enum Event<'a> { Char { x: usize, y: usize, c: char, bold: bool, underlined: bool, color: Color, }, Input { data: &'a [u8], }, Rect { x: usize, y: usize, w: usize, h: usize, color: Color, }, ScreenBuffer { alternate: bool, clear: bool, }, Scroll { rows: usize, color: Color, }, Title { title: String, }, }
Variants
Char
Fields of Char
x: usize | |
y: usize | |
c: char | |
bold: bool | |
underlined: bool | |
color: Color |
Input
Fields of Input
data: &'a [u8] |
Rect
Fields of Rect
x: usize | |
y: usize | |
w: usize | |
h: usize | |
color: Color |
ScreenBuffer
Fields of ScreenBuffer
alternate: bool | |
clear: bool |
Scroll
Fields of Scroll
rows: usize | |
color: Color |
Title
Fields of Title
title: String |