pub struct UnfoldedTree {
pub tree: Graph,
pub vertex_index: Vec<VertexId>,
}Expand description
Result of Graph::unfold_tree.
Fields§
§tree: GraphThe unfolded tree (or forest); it has the directedness of the input.
vertex_index: Vec<VertexId>vertex_index[v] is the vertex of the original graph that vertex v
of tree is a copy of. The first vcount entries are the identity.
Trait Implementations§
Source§impl Clone for UnfoldedTree
impl Clone for UnfoldedTree
Source§fn clone(&self) -> UnfoldedTree
fn clone(&self) -> UnfoldedTree
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 UnfoldedTree
impl Debug for UnfoldedTree
Source§impl PartialEq for UnfoldedTree
impl PartialEq for UnfoldedTree
Source§fn eq(&self, other: &UnfoldedTree) -> bool
fn eq(&self, other: &UnfoldedTree) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UnfoldedTree
Auto Trait Implementations§
impl !Sync for UnfoldedTree
impl Freeze for UnfoldedTree
impl RefUnwindSafe for UnfoldedTree
impl Send for UnfoldedTree
impl Unpin for UnfoldedTree
impl UnsafeUnpin for UnfoldedTree
impl UnwindSafe for UnfoldedTree
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