pub enum Rectangle {
Raw {
x: u16,
y: u16,
width: u16,
height: u16,
pixels: Vec<u8>,
},
Resize {
width: u16,
height: u16,
},
PointerModeChanged {
relative: bool,
},
}Expand description
An RFB framebuffer update rectangle.
Variants§
Raw
Uncompressed BGRX pixels using the client-selected format.
Fields
Resize
A guest display mode change.
PointerModeChanged
QEMU requested absolute coordinates (false) or relative deltas (true).
Trait Implementations§
impl Eq for Rectangle
impl StructuralPartialEq for Rectangle
Auto Trait Implementations§
impl Forget for Rectangle
impl Freeze for Rectangle
impl Move for Rectangle
impl RefUnwindSafe for Rectangle
impl Send for Rectanglewhere
RawVecInner: Send,
impl Sync for Rectanglewhere
RawVecInner: Sync,
impl Unpin for Rectangle
impl UnsafeUnpin for Rectangle
impl UnwindSafe for Rectanglewhere
RawVecInner: UnwindSafe,
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