pub struct ViewDelta {
pub base: u64,
pub generation: u64,
pub geometry: Option<Geometry>,
pub active_pane: Option<usize>,
pub panes: Vec<PaneDelta>,
pub state: Option<Value>,
}Expand description
A sparse view update valid only against base. panes is aligned
with the base snapshot’s pane order; a changed pane set always ships
as a full snapshot instead.
Fields§
§base: u64§generation: u64§geometry: Option<Geometry>§active_pane: Option<usize>§panes: Vec<PaneDelta>§state: Option<Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ViewDelta
impl<'de> Deserialize<'de> for ViewDelta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ViewDelta
Auto Trait Implementations§
impl Freeze for ViewDelta
impl RefUnwindSafe for ViewDelta
impl Send for ViewDelta
impl Sync for ViewDelta
impl Unpin for ViewDelta
impl UnsafeUnpin for ViewDelta
impl UnwindSafe for ViewDelta
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