Skip to main content

IdPath

Trait IdPath 

Source
pub trait IdPath {
    // Required method
    fn iter(&self) -> impl Iterator<Item = LabelNameId>;
}
Expand description

An ordered collection of LabelNameId.

Usually this is Box<[LabelNameId]> for simplicity, but BitFieldIdPath is an implementation backed by BitFieldVec for cases where memory usage matters.

Required Methods§

Source

fn iter(&self) -> impl Iterator<Item = LabelNameId>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IdPath for &[LabelNameId]

Source§

fn iter(&self) -> impl Iterator<Item = LabelNameId>

Source§

impl IdPath for Box<[LabelNameId]>

Source§

fn iter(&self) -> impl Iterator<Item = LabelNameId>

Source§

impl IdPath for Vec<LabelNameId>

Source§

fn iter(&self) -> impl Iterator<Item = LabelNameId>

Implementors§