pub enum Event {
Disconnected(Option<Error>),
Resize(u16, u16),
SetColourMap {
first_colour: u16,
colours: Vec<Colour>,
},
PutPixels(Rect, Vec<u8>),
CopyPixels {
src: Rect,
dst: Rect,
},
EndOfFrame,
SetCursor {
size: (u16, u16),
hotspot: (u16, u16),
pixels: Vec<u8>,
mask_bits: Vec<u8>,
},
Clipboard(String),
Bell,
}
Variants
Disconnected(Option<Error>)
Resize(u16, u16)
SetColourMap
Fields
PutPixels(Rect, Vec<u8>)
CopyPixels
Fields
EndOfFrame
SetCursor
Fields
Clipboard(String)
Bell
Trait Implementations
Formats the value using the given formatter.