Trait stabby_abi::iter::Iterator
source · pub trait Iterator {
type Item: IDeterminantProvider<()>;
// Required methods
extern "C" fn next(&mut self) -> Option<Self::Item>;
extern "C" fn size_hint(&self) -> Tuple<usize, Option<usize>>;
}
Expand description
core::iter::Iterator
, but ABI-stable.
Required Associated Types§
sourcetype Item: IDeterminantProvider<()>
type Item: IDeterminantProvider<()>
The type of the elements of the iterator.
Required Methods§
Trait Implementations§
source§impl<'stabby_vt_lt, _stabby_unselfed_0> CompoundVt for dyn Iterator<Item = _stabby_unselfed_0>where
_stabby_unselfed_0: IDeterminantProvider<()>,
impl<'stabby_vt_lt, _stabby_unselfed_0> CompoundVt for dyn Iterator<Item = _stabby_unselfed_0>where
_stabby_unselfed_0: IDeterminantProvider<()>,
§type Vt<StabbyNextVtable> = VTable<StabbyVtableIterator<_stabby_unselfed_0>, StabbyNextVtable>
type Vt<StabbyNextVtable> = VTable<StabbyVtableIterator<_stabby_unselfed_0>, StabbyNextVtable>
An stabby-generated item for Iterator