pub struct UnfoldTreeResult {
pub tree: Graph,
pub vertex_index: Vec<VertexId>,
}Expand description
Result of unfolding a graph into a tree.
Fields§
§tree: GraphThe unfolded tree (or forest).
vertex_index: Vec<VertexId>Mapping from tree vertices to original graph vertices.
vertex_index[v_tree] gives the original vertex ID.
Trait Implementations§
Source§impl Clone for UnfoldTreeResult
impl Clone for UnfoldTreeResult
Source§fn clone(&self) -> UnfoldTreeResult
fn clone(&self) -> UnfoldTreeResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for UnfoldTreeResult
impl !RefUnwindSafe for UnfoldTreeResult
impl Send for UnfoldTreeResult
impl !Sync for UnfoldTreeResult
impl Unpin for UnfoldTreeResult
impl UnsafeUnpin for UnfoldTreeResult
impl UnwindSafe for UnfoldTreeResult
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