Skip to main content

ColumnIter

Trait ColumnIter 

Source
pub trait ColumnIter<T> {
    type Iter<'a>: Iterator<Item = T>
       where Self: 'a;

    // Required method
    fn iter(&self) -> Self::Iter<'_>;
}
Expand description

Trait for columns that support iteration over their values.

Required Associated Types§

Source

type Iter<'a>: Iterator<Item = T> where Self: 'a

The iterator type returned by iter.

Required Methods§

Source

fn iter(&self) -> Self::Iter<'_>

Returns an iterator over the column values.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§