pub struct vtkEdgeListIterator(/* private fields */);Expand description
Iterates through all edges in a graph.
vtkEdgeListIterator iterates through all the edges in a graph, by traversing the adjacency list for each vertex. You may instantiate this class directly and call SetGraph() to traverse a certain graph. You may also call the graph’s GetEdges() method to set up the iterator for a certain graph.
Note that this class does NOT guarantee that the edges will be processed in order of their ids (i.e. it will not necessarily return edge 0, then edge 1, etc.).
@sa vtkGraph
Implementations§
Source§impl vtkEdgeListIterator
impl vtkEdgeListIterator
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new vtkEdgeListIterator wrapped inside vtkNew
Trait Implementations§
Source§impl Default for vtkEdgeListIterator
impl Default for vtkEdgeListIterator
Auto Trait Implementations§
impl Freeze for vtkEdgeListIterator
impl RefUnwindSafe for vtkEdgeListIterator
impl !Send for vtkEdgeListIterator
impl !Sync for vtkEdgeListIterator
impl Unpin for vtkEdgeListIterator
impl UnwindSafe for vtkEdgeListIterator
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