[][src]Struct bigbit::linkedbytes::LBCharsIter

pub struct LBCharsIter<'a> { /* fields omitted */ }

An iterator over the codepoints in an LBString.

This resolves the codepoints on the fly, as all lazy iterators do. Thus creating such an iterator is totally free.

The values are not checked when resolving, meaning that any invalid Unicode codepoints will be carried over into the result. The reason is that the validity of the values is ensured by the LBString type during creation. This means that any unsafe code introspecting an LBString will most likely trigger a panic or an infinite loop.

Methods

impl<'a> LBCharsIter<'a>[src]

pub fn new(s: &'a LBString) -> Self[src]

Trait Implementations

impl<'a> Iterator for LBCharsIter<'a>[src]

type Item = char

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a> Send for LBCharsIter<'a>

impl<'a> Sync for LBCharsIter<'a>

impl<'a> Unpin for LBCharsIter<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.