Trait tskit::NodeIterator[][src]

pub trait NodeIterator {
    fn next_node(&mut self);
fn current_node(&mut self) -> Option<tsk_id_t>; }

Trait defining iteration over nodes.

Required methods

fn next_node(&mut self)[src]

fn current_node(&mut self) -> Option<tsk_id_t>[src]

Loading content...

Trait Implementations

impl Iterator for dyn NodeIterator[src]

type Item = tsk_id_t

The type of the elements being iterated over.

Implementors

Loading content...