pub struct LayoutClientSlices {
pub focused_node_id: String,
pub magnified_node_id: String,
pub pending_backend_actions: Option<Value>,
}Expand description
The rest of a LayoutState row, carried by a seeding LayoutSetTree
(seed_layout_via_reducer). The reducer applies focused_node_id/magnified_node_id to its TabRecord;
pending_backend_actions is opaque pass-through JSON the
persist subscriber writes verbatim (no algebra re-run in the subscriber —
that would be a new divergence surface).
Semantics are REPLACE: an absent/null pending_backend_actions CLEARS
the persisted field; an empty focused_node_id/magnified_node_id clears
focus/magnify. A LayoutSetTree with slices: None (granular/tree-only
callers) leaves all three untouched.
Fields§
§focused_node_id: StringFocused layout-node id; empty = clear.
magnified_node_id: StringMagnified layout-node id; empty = clear.
pending_backend_actions: Option<Value>The backend→frontend action queue to store. None = clear (a
freshly seeded tab).
Trait Implementations§
Source§impl Clone for LayoutClientSlices
impl Clone for LayoutClientSlices
Source§fn clone(&self) -> LayoutClientSlices
fn clone(&self) -> LayoutClientSlices
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 LayoutClientSlices
impl Debug for LayoutClientSlices
Source§impl Default for LayoutClientSlices
impl Default for LayoutClientSlices
Source§fn default() -> LayoutClientSlices
fn default() -> LayoutClientSlices
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LayoutClientSlices
impl<'de> Deserialize<'de> for LayoutClientSlices
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 LayoutClientSlices
impl PartialEq for LayoutClientSlices
Source§impl Serialize for LayoutClientSlices
impl Serialize for LayoutClientSlices
impl StructuralPartialEq for LayoutClientSlices
Auto Trait Implementations§
impl Freeze for LayoutClientSlices
impl RefUnwindSafe for LayoutClientSlices
impl Send for LayoutClientSlices
impl Sync for LayoutClientSlices
impl Unpin for LayoutClientSlices
impl UnsafeUnpin for LayoutClientSlices
impl UnwindSafe for LayoutClientSlices
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