pub struct LayoutViewState {
pub focused_node_id: String,
pub magnified_node_id: String,
}Expand description
The focused and magnified pane the sender holds after the intent. Focus is the frontend’s to pick (it keeps the focus history and the pane geometry that choose a successor), so srv stores it as sent, cleared if it names no node of the resulting tree.
Fields§
§focused_node_id: String§magnified_node_id: StringTrait Implementations§
Source§impl Clone for LayoutViewState
impl Clone for LayoutViewState
Source§fn clone(&self) -> LayoutViewState
fn clone(&self) -> LayoutViewState
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 LayoutViewState
impl Debug for LayoutViewState
Source§impl Default for LayoutViewState
impl Default for LayoutViewState
Source§fn default() -> LayoutViewState
fn default() -> LayoutViewState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LayoutViewState
impl<'de> Deserialize<'de> for LayoutViewState
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 Eq for LayoutViewState
Source§impl PartialEq for LayoutViewState
impl PartialEq for LayoutViewState
Source§impl Serialize for LayoutViewState
impl Serialize for LayoutViewState
impl StructuralPartialEq for LayoutViewState
Auto Trait Implementations§
impl Freeze for LayoutViewState
impl RefUnwindSafe for LayoutViewState
impl Send for LayoutViewState
impl Sync for LayoutViewState
impl Unpin for LayoutViewState
impl UnsafeUnpin for LayoutViewState
impl UnwindSafe for LayoutViewState
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