pub struct Frame {
pub width: u32,
pub height: u32,
pub rgba: Vec<u8>,
pub seq: u32,
pub frames: u64,
}Expand description
The session’s picture as this client holds it.
Fields§
§width: u32Physical pixels.
height: u32§rgba: Vec<u8>Straight RGBA, row-major, width * height * 4 bytes.
seq: u32The server’s sequence number of the last frame applied.
frames: u64How many frames have been applied.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Frame
impl Freeze for Frame
impl Move for Frame
impl RefUnwindSafe for Frame
impl Send for Framewhere
RawVecInner: Send,
impl Sync for Framewhere
RawVecInner: Sync,
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Framewhere
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