[][src]Struct tinyrlibc::CStringIter

pub struct CStringIter { /* fields omitted */ }

This allows you to iterate a null-terminated string in a relatively simple way.

Methods

impl CStringIter[src]

Important traits for CStringIter
pub fn new(s: *const CChar) -> CStringIter[src]

Create a new iterator from a pointer to a null-terminated string. The behaviour is undefined if the string is not null-terminated.

Trait Implementations

impl Iterator for CStringIter[src]

type Item = CChar

The type of the elements being iterated over.

Auto Trait Implementations

impl Unpin for CStringIter

impl !Send for CStringIter

impl !Sync for CStringIter

Blanket Implementations

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

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<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> Into<U> for T where
    U: From<T>, 
[src]

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.

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

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

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