pub struct DepGraphState {
pub selected: Option<String>,
}Expand description
The complete observable interaction state (FC-1 / FC-3) of a
DepGraphView: the drilled-in selection, keyed on the node’s stable label
(FC-5) so a reorder/insert/delete can’t silently re-point it the way a list index
would. The nodes/edges are input on DepGraphView, kept out of this Model.
Fields§
§selected: Option<String>Selected node, keyed on its stable label (FC-5).
Trait Implementations§
Source§impl Clone for DepGraphState
impl Clone for DepGraphState
Source§fn clone(&self) -> DepGraphState
fn clone(&self) -> DepGraphState
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 DepGraphState
impl Debug for DepGraphState
Source§impl Default for DepGraphState
impl Default for DepGraphState
Source§fn default() -> DepGraphState
fn default() -> DepGraphState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DepGraphState
impl<'de> Deserialize<'de> for DepGraphState
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 DepGraphState
Source§impl PartialEq for DepGraphState
impl PartialEq for DepGraphState
Source§impl Serialize for DepGraphState
impl Serialize for DepGraphState
impl StructuralPartialEq for DepGraphState
Auto Trait Implementations§
impl Freeze for DepGraphState
impl RefUnwindSafe for DepGraphState
impl Send for DepGraphState
impl Sync for DepGraphState
impl Unpin for DepGraphState
impl UnsafeUnpin for DepGraphState
impl UnwindSafe for DepGraphState
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