Struct collections::str::Utf16CodeUnitsExperimental [-]  [+] [src]

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

External iterator for a string's UTF16 codeunits. Use with the std::iter module.

Trait Implementations

impl<'a> Iterator<u16> for Utf16CodeUnits<'a>

fn next(&mut self) -> Option<u16>

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

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

fn chain<U: Iterator<u16>>(self, U) -> Chain<Utf16CodeUnits<'a>, U>

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

fn map<B>(self, |u16| -> B) -> Map<'r, u16, B, Utf16CodeUnits<'a>>

fn filter(self, |&u16| -> bool) -> Filter<'r, u16, Utf16CodeUnits<'a>>

fn filter_map<B>(self, |u16| -> Option<B>) -> FilterMap<'r, u16, B, Utf16CodeUnits<'a>>

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

fn peekable(self) -> Peekable<u16, Utf16CodeUnits<'a>>

fn skip_while(self, |&u16| -> bool) -> SkipWhile<'r, u16, Utf16CodeUnits<'a>>

fn take_while(self, |&u16| -> bool) -> TakeWhile<'r, u16, Utf16CodeUnits<'a>>

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

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

fn scan<St, B>(self, St, |&mut St, u16| -> Option<B>) -> Scan<'r, u16, B, Utf16CodeUnits<'a>, St>

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

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

fn inspect(self, |&u16|) -> Inspect<'r, u16, Utf16CodeUnits<'a>>

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

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

fn nth(&mut self, uint) -> Option<u16>

fn last(&mut self) -> Option<u16>

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

fn count(&mut self) -> uint

fn all(&mut self, |u16| -> bool) -> bool

fn any(&mut self, |u16| -> bool) -> bool

fn find(&mut self, |&u16| -> bool) -> Option<u16>

fn position(&mut self, |u16| -> bool) -> Option<uint>

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

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

Derived Implementations

impl<'a> Clone for Utf16CodeUnits<'a>

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

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