pub struct GraphState {
pub layout: GraphLayout,
}Expand description
The complete observable interaction state (FC-1 / FC-3) of a GraphView:
the layout knob a host can toggle. The bulk Scene is input held on
GraphView (not serde-round-trippable, not driver-mutated), so it is
deliberately kept OUT of this Model — the derived node/edge/label counts a driver
reads are published via the form-3 state_json instead.
Fields§
§layout: GraphLayoutThe node-placement strategy (the one knob a host/robot toggles).
Trait Implementations§
Source§impl Clone for GraphState
impl Clone for GraphState
Source§fn clone(&self) -> GraphState
fn clone(&self) -> GraphState
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 GraphState
impl Debug for GraphState
Source§impl Default for GraphState
impl Default for GraphState
Source§fn default() -> GraphState
fn default() -> GraphState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GraphState
impl<'de> Deserialize<'de> for GraphState
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 GraphState
Source§impl PartialEq for GraphState
impl PartialEq for GraphState
Source§impl Serialize for GraphState
impl Serialize for GraphState
impl StructuralPartialEq for GraphState
Auto Trait Implementations§
impl Freeze for GraphState
impl RefUnwindSafe for GraphState
impl Send for GraphState
impl Sync for GraphState
impl Unpin for GraphState
impl UnsafeUnpin for GraphState
impl UnwindSafe for GraphState
Blanket Implementations§
impl<T> Allocation for T
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