pub enum ViewForm {
Full(Tree),
Delta(Vec<DeltaOp>),
NoChange,
}Expand description
What PageState::apply_snapshot produced.
Variants§
Full(Tree)
First view on the page (or post-baseline-reset). Emit the whole tree.
Delta(Vec<DeltaOp>)
Subsequent view. Emit the delta against the last-emitted tree.
NoChange
state_token unchanged from the last call. Body is empty.
Trait Implementations§
impl Eq for ViewForm
impl StructuralPartialEq for ViewForm
Auto Trait Implementations§
impl Freeze for ViewForm
impl RefUnwindSafe for ViewForm
impl Send for ViewForm
impl Sync for ViewForm
impl Unpin for ViewForm
impl UnsafeUnpin for ViewForm
impl UnwindSafe for ViewForm
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