pub struct ViewSnapshot {
pub generation: u64,
pub geometry: Geometry,
pub active_pane: usize,
pub panes: Vec<PaneSnapshot>,
pub state: Value,
}Expand description
A full semantic view: the prepared panes plus the same logical state
observation the headless driver pins (state_json).
Fields§
§generation: u64§geometry: Geometry§active_pane: usize§panes: Vec<PaneSnapshot>§state: ValueTrait Implementations§
Source§impl Clone for ViewSnapshot
impl Clone for ViewSnapshot
Source§impl Debug for ViewSnapshot
impl Debug for ViewSnapshot
Source§impl<'de> Deserialize<'de> for ViewSnapshot
impl<'de> Deserialize<'de> for ViewSnapshot
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
Source§impl PartialEq for ViewSnapshot
impl PartialEq for ViewSnapshot
Source§impl Serialize for ViewSnapshot
impl Serialize for ViewSnapshot
impl StructuralPartialEq for ViewSnapshot
Auto Trait Implementations§
impl Freeze for ViewSnapshot
impl RefUnwindSafe for ViewSnapshot
impl Send for ViewSnapshot
impl Sync for ViewSnapshot
impl Unpin for ViewSnapshot
impl UnsafeUnpin for ViewSnapshot
impl UnwindSafe for ViewSnapshot
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