pub struct vtkTreeBFSIterator(/* private fields */);Expand description
breadth first search iterator through a vtkTree
vtkTreeBFSIterator performs a breadth first search traversal of a tree.
After setting up the iterator, the normal mode of operation is to
set up a while(iter->HasNext()) loop, with the statement
vtkIdType vertex = iter->Next() inside the loop.
@par Thanks: Thanks to David Doria for submitting this class.
Implementations§
Source§impl vtkTreeBFSIterator
impl vtkTreeBFSIterator
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new vtkTreeBFSIterator wrapped inside vtkNew
Trait Implementations§
Source§impl Default for vtkTreeBFSIterator
impl Default for vtkTreeBFSIterator
Auto Trait Implementations§
impl Freeze for vtkTreeBFSIterator
impl RefUnwindSafe for vtkTreeBFSIterator
impl !Send for vtkTreeBFSIterator
impl !Sync for vtkTreeBFSIterator
impl Unpin for vtkTreeBFSIterator
impl UnwindSafe for vtkTreeBFSIterator
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