pub struct vtkOutEdgeIterator(/* private fields */);Expand description
Iterates through all outgoing edges from a vertex.
vtkOutEdgeIterator iterates through all edges whose source is a particular vertex. Instantiate this class directly and call Initialize() to traverse the vertex of a graph. Alternately, use GetInEdges() on the graph to initialize the iterator. it->Next() returns a vtkOutEdgeType structure, which contains Id, the edge’s id, and Target, the edge’s target vertex.
@sa vtkGraph vtkInEdgeIterator
Implementations§
Source§impl vtkOutEdgeIterator
impl vtkOutEdgeIterator
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new vtkOutEdgeIterator wrapped inside vtkNew
Trait Implementations§
Source§impl Default for vtkOutEdgeIterator
impl Default for vtkOutEdgeIterator
Auto Trait Implementations§
impl Freeze for vtkOutEdgeIterator
impl RefUnwindSafe for vtkOutEdgeIterator
impl !Send for vtkOutEdgeIterator
impl !Sync for vtkOutEdgeIterator
impl Unpin for vtkOutEdgeIterator
impl UnwindSafe for vtkOutEdgeIterator
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