[−][src]Trait outils::types::Values
Trees implementing this trait are able to return an iterator over the values stored by the implementing struct.
Required methods
fn values(
&'slf self
) -> Box<dyn Iterator<Item = (NodeIndex<Ix>, &'slf V)> + 'slf>
&'slf self
) -> Box<dyn Iterator<Item = (NodeIndex<Ix>, &'slf V)> + 'slf>
Returns a boxed iterator over the stored values and their corresponding
tree node indices held by self
.
Implementors
impl<'slf, K, V> Values<'slf, V, usize> for AaTree<K, V> where
K: KeyType,
V: 'slf + ValueType,
[src]
K: KeyType,
V: 'slf + ValueType,
fn values(&'slf self) -> Box<dyn Iterator<Item = (NodeIndex, &'slf V)> + 'slf>
[src]
Returns a boxed iterator over the stored values and their corresponding
tree node indices held by self
. The keys are returned in the order
of the corresponding search keys.
impl<'slf, K, V, W> Values<'slf, V, usize> for WeightedAaTree<K, V, W> where
K: KeyType,
V: 'slf + ValueType,
W: WeightType,
[src]
K: KeyType,
V: 'slf + ValueType,
W: WeightType,
fn values(&'slf self) -> Box<dyn Iterator<Item = (NodeIndex, &'slf V)> + 'slf>
[src]
Returns a boxed iterator over the stored values and their corresponding
tree node indices held by self
. The values are returned in the order
of the corresponding search keys.
impl<'slf, V> Values<'slf, V, usize> for AaForest<V> where
V: 'slf + ValueType,
[src]
V: 'slf + ValueType,
fn values(&'slf self) -> Box<dyn Iterator<Item = (NodeIndex, &'slf V)> + 'slf>
[src]
Returns a boxed iterator over the stored values and their corresponding
tree node indices held by self
. The values are not returned in any
particular order.
impl<'slf, V> Values<'slf, V, usize> for Forest<V> where
V: 'slf + ValueType,
[src]
V: 'slf + ValueType,
fn values(&'slf self) -> Box<dyn Iterator<Item = (NodeIndex, &'slf V)> + 'slf>
[src]
Returns a boxed iterator over the stored values and their corresponding
tree node indices held by self
.
impl<'slf, V, W> Values<'slf, V, usize> for WeightedAaForest<V, W> where
V: 'slf + ValueType,
W: WeightType,
[src]
V: 'slf + ValueType,
W: WeightType,