Struct ByteClassIter
pub struct ByteClassIter<'a> { /* private fields */ }
An iterator over each equivalence class.
The last element in this iterator always corresponds to Unit::eoi.
This is created by the ByteClasses::iter method.
The lifetime 'a refers to the lifetime of the byte classes that this
iterator was created from.
Trait Implementations
impl<'a> Debug for ByteClassIter<'a>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'a> Iterator for ByteClassIter<'a>
type Item = Unit;fn next(&mut self) -> Option<Unit>
Auto Trait Implementations
impl<'a> Freeze for ByteClassIter<'a>
impl<'a> RefUnwindSafe for ByteClassIter<'a>
impl<'a> Send for ByteClassIter<'a>
impl<'a> Sync for ByteClassIter<'a>
impl<'a> Unpin for ByteClassIter<'a>
impl<'a> UnsafeUnpin for ByteClassIter<'a>
impl<'a> UnwindSafe for ByteClassIter<'a>
Blanket Implementations
impl<I> IntoIterator for ByteClassIter<'a>
where
I: Iterator,
type Item = <I as Iterator>::Item;type IntoIter = I;fn into_iter(self) -> I
impl<T> Any for ByteClassIter<'a>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for ByteClassIter<'a>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for ByteClassIter<'a>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for ByteClassIter<'a>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for ByteClassIter<'a>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for ByteClassIter<'a>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for ByteClassIter<'a>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>