Trait mz_repr::fixed_length::ToDatumIter
source · pub trait ToDatumIter: Sized {
type DatumIter<'a>: IntoIterator<Item = Datum<'a>>
where Self: 'a;
// Required method
fn to_datum_iter<'a>(&'a self) -> Self::DatumIter<'a>;
}
Expand description
A helper trait to get references to `Row.
Required Associated Types§
sourcetype DatumIter<'a>: IntoIterator<Item = Datum<'a>>
where
Self: 'a
type DatumIter<'a>: IntoIterator<Item = Datum<'a>> where Self: 'a
An iterator type for use in to_datum_iter
.
Required Methods§
sourcefn to_datum_iter<'a>(&'a self) -> Self::DatumIter<'a>
fn to_datum_iter<'a>(&'a self) -> Self::DatumIter<'a>
Obtains an iterator of datums out of an instance of Self
, given a schema provided
by types
.
Object Safety§
This trait is not object safe.