pub struct RenderUpdate { /* private fields */ }Expand description
Snapshot update emitted by PaneRenderStream.
Implementations§
Source§impl RenderUpdate
impl RenderUpdate
Sourcepub const fn snapshot(&self) -> &PaneSnapshot
pub const fn snapshot(&self) -> &PaneSnapshot
Returns the snapshot captured for this render update.
Sourcepub const fn lag(&self) -> Option<&PaneLagNotice>
pub const fn lag(&self) -> Option<&PaneLagNotice>
Returns the lag notice that preceded this snapshot, when output lag was observed.
Sourcepub fn into_snapshot(self) -> PaneSnapshot
pub fn into_snapshot(self) -> PaneSnapshot
Consumes the update and returns its snapshot.
Trait Implementations§
Source§impl Clone for RenderUpdate
impl Clone for RenderUpdate
Source§fn clone(&self) -> RenderUpdate
fn clone(&self) -> RenderUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RenderUpdate
impl Debug for RenderUpdate
impl Eq for RenderUpdate
Source§impl PartialEq for RenderUpdate
impl PartialEq for RenderUpdate
Source§fn eq(&self, other: &RenderUpdate) -> bool
fn eq(&self, other: &RenderUpdate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RenderUpdate
Auto Trait Implementations§
impl Freeze for RenderUpdate
impl RefUnwindSafe for RenderUpdate
impl Send for RenderUpdate
impl Sync for RenderUpdate
impl Unpin for RenderUpdate
impl UnsafeUnpin for RenderUpdate
impl UnwindSafe for RenderUpdate
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