pub struct ScopedGraph {
pub nodes: Vec<GraphNode>,
pub edges: Vec<GraphEdge>,
pub scope: GraphScope,
}Expand description
One concept’s neighbourhood, bounded and honest about its bounds.
Fields§
§nodes: Vec<GraphNode>The nodes drawn, focus first.
edges: Vec<GraphEdge>Edges with both endpoints among ScopedGraph::nodes.
scope: GraphScopeWhat this view is showing, and of how much.
Trait Implementations§
Source§impl Clone for ScopedGraph
impl Clone for ScopedGraph
Source§fn clone(&self) -> ScopedGraph
fn clone(&self) -> ScopedGraph
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 ScopedGraph
impl Debug for ScopedGraph
Auto Trait Implementations§
impl Freeze for ScopedGraph
impl RefUnwindSafe for ScopedGraph
impl Send for ScopedGraph
impl Sync for ScopedGraph
impl Unpin for ScopedGraph
impl UnsafeUnpin for ScopedGraph
impl UnwindSafe for ScopedGraph
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