pub struct GraphSubgraph {
pub nodes: Vec<GraphNode>,
pub edges: Vec<GraphEdge>,
}Fields§
§nodes: Vec<GraphNode>§edges: Vec<GraphEdge>Implementations§
Source§impl GraphSubgraph
impl GraphSubgraph
Trait Implementations§
Source§impl Clone for GraphSubgraph
impl Clone for GraphSubgraph
Source§fn clone(&self) -> GraphSubgraph
fn clone(&self) -> GraphSubgraph
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 GraphSubgraph
impl Debug for GraphSubgraph
Source§impl<'de> Deserialize<'de> for GraphSubgraph
impl<'de> Deserialize<'de> for GraphSubgraph
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 GraphSubgraph
impl PartialEq for GraphSubgraph
Source§fn eq(&self, other: &GraphSubgraph) -> bool
fn eq(&self, other: &GraphSubgraph) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GraphSubgraph
impl Serialize for GraphSubgraph
impl Eq for GraphSubgraph
impl StructuralPartialEq for GraphSubgraph
Auto Trait Implementations§
impl Freeze for GraphSubgraph
impl RefUnwindSafe for GraphSubgraph
impl Send for GraphSubgraph
impl Sync for GraphSubgraph
impl Unpin for GraphSubgraph
impl UnsafeUnpin for GraphSubgraph
impl UnwindSafe for GraphSubgraph
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