pub enum FrameKind {
Full,
Partial,
}Expand description
Whether a frame redraws everything or just its spans.
Deliberately exhaustive (#843), and this one is closed by a louder gate than
semver. A new frame kind is a wire change, so it moves WIRE_VERSION
(ADR-0008) — which a consumer cannot miss. #[non_exhaustive] would only soften
the quieter of the two signals. Left exhaustive on purpose, not by omission.
Variants§
Full
Every row is present (resize / alt-screen clear).
Partial
Only the listed spans changed since the consumer’s ack.
Trait Implementations§
impl Copy for FrameKind
impl Eq for FrameKind
impl StructuralPartialEq for FrameKind
Auto Trait Implementations§
impl Freeze for FrameKind
impl RefUnwindSafe for FrameKind
impl Send for FrameKind
impl Sync for FrameKind
impl Unpin for FrameKind
impl UnsafeUnpin for FrameKind
impl UnwindSafe for FrameKind
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