Struct std_prelude::str::CharIndices1.0.0 [] [src]

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

An iterator over the chars of a string slice, and their positions.

This struct is created by the char_indices method on str. See its documentation for more.

Methods

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

1.4.0
[src]

View the underlying data as a subslice of the original data.

This has the same lifetime as the original slice, and so the iterator can continue to be used while this exists.

Trait Implementations

impl<'a> Debug for CharIndices<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> FusedIterator for CharIndices<'a>
[src]

impl<'a> Clone for CharIndices<'a>
[src]

[src]

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

[src]

[src]

[src]

[src]

impl<'a> DoubleEndedIterator for CharIndices<'a>
[src]

[src]