Struct collections::str::Utf16Items[src]

pub struct Utf16Items<'a> {
    // some fields omitted
}

An iterator that decodes UTF-16 encoded codepoints from a vector of u16s.

Trait Implementations

impl<'a> Iterator<Utf16Item> for Utf16Items<'a>

fn next<'a>(&mut self) -> Option<Utf16Item>

fn size_hint<'a>(&self) -> (uint, Option<uint>)

fn size_hint<'a>(&self) -> (uint, Option<uint>)

fn chain<U: Iterator<Utf16Item>>(self, U) -> Chain<Utf16Items<'a>, U>

fn zip<B, U: Iterator<B>>(self, U) -> Zip<Utf16Items<'a>, U>

fn map<B>(self, |Utf16Item|: 'r -> B) -> Map<'r, Utf16Item, B, Utf16Items<'a>>

fn filter<'a>(self, |&Utf16Item|: 'r -> bool) -> Filter<'r, Utf16Item, Utf16Items<'a>>

fn filter_map<B>(self, |Utf16Item|: 'r -> Option<B>) -> FilterMap<'r, Utf16Item, B, Utf16Items<'a>>

fn enumerate<'a>(self) -> Enumerate<Utf16Items<'a>>

fn peekable<'a>(self) -> Peekable<Utf16Item, Utf16Items<'a>>

fn skip_while<'a>(self, |&Utf16Item|: 'r -> bool) -> SkipWhile<'r, Utf16Item, Utf16Items<'a>>

fn take_while<'a>(self, |&Utf16Item|: 'r -> bool) -> TakeWhile<'r, Utf16Item, Utf16Items<'a>>

fn skip<'a>(self, uint) -> Skip<Utf16Items<'a>>

fn take<'a>(self, uint) -> Take<Utf16Items<'a>>

fn scan<St, B>(self, St, |&mut St, Utf16Item|: 'r -> Option<B>) -> Scan<'r, Utf16Item, B, Utf16Items<'a>, St>

fn flat_map<B, U: Iterator<B>>(self, |Utf16Item|: 'r -> U) -> FlatMap<'r, Utf16Item, Utf16Items<'a>, U>

fn fuse<'a>(self) -> Fuse<Utf16Items<'a>>

fn inspect<'a>(self, |&Utf16Item|: 'r) -> Inspect<'r, Utf16Item, Utf16Items<'a>>

fn by_ref<'a>(&'r mut self) -> ByRef<'r, Utf16Items<'a>>

fn advance<'a>(&mut self, |Utf16Item| -> bool) -> bool

fn collect<B: FromIterator<Utf16Item>>(&mut self) -> B

fn nth<'a>(&mut self, uint) -> Option<Utf16Item>

fn last<'a>(&mut self) -> Option<Utf16Item>

fn fold<B>(&mut self, B, |B, Utf16Item| -> B) -> B

fn count<'a>(&mut self) -> uint

fn all<'a>(&mut self, |Utf16Item| -> bool) -> bool

fn any<'a>(&mut self, |Utf16Item| -> bool) -> bool

fn find<'a>(&mut self, |&Utf16Item| -> bool) -> Option<Utf16Item>

fn position<'a>(&mut self, |Utf16Item| -> bool) -> Option<uint>

fn max_by<B: Ord>(&mut self, |&Utf16Item| -> B) -> Option<Utf16Item>

fn min_by<B: Ord>(&mut self, |&Utf16Item| -> B) -> Option<Utf16Item>

Derived Implementations

impl<'a> Clone for Utf16Items<'a>

fn clone<'a>(&self) -> Utf16Items<'a>

fn clone_from<'a>(&mut self, &Utf16Items<'a>)