pub struct AppFrame {
pub window: u32,
pub seq: u32,
pub key: bool,
pub window_width: u32,
pub window_height: u32,
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
pub jpeg: Vec<u8>,
}Expand description
A picture of part of an X11 app window, which a machine room sends as a binary frame: a JPEG
to draw at (x, y) in window window (its element’s data-xid in the desktop), which is
window_width by window_height now. Each window’s frames count up in seq; a skipped
count means a stale frame was dropped, and the window needs a repaint unless the frame is a
key frame, which covers the whole window.
Fields§
§window: u32§seq: u32§key: bool§window_width: u32§window_height: u32§x: u32§y: u32§width: u32§height: u32§jpeg: Vec<u8>Implementations§
Trait Implementations§
impl Eq for AppFrame
impl StructuralPartialEq for AppFrame
Auto Trait Implementations§
impl Forget for AppFrame
impl Freeze for AppFrame
impl Move for AppFrame
impl RefUnwindSafe for AppFrame
impl Send for AppFrame
impl Sync for AppFrame
impl Unpin for AppFrame
impl UnsafeUnpin for AppFrame
impl UnwindSafe for AppFrame
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.