pub struct SubgraphResult {
pub graph: NarrativeGraph,
pub node_mapping: HashMap<NodeId, NodeId>,
}Expand description
Result of subgraph extraction.
Fields§
§graph: NarrativeGraphThe extracted subgraph.
node_mapping: HashMap<NodeId, NodeId>Mapping from original NodeIds to new NodeIds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SubgraphResult
impl RefUnwindSafe for SubgraphResult
impl Send for SubgraphResult
impl Sync for SubgraphResult
impl Unpin for SubgraphResult
impl UnwindSafe for SubgraphResult
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