Struct collections::str::Lines 1.0.0
[−]
[src]
pub struct Lines<'a>(_);
An iterator over the lines of a string, as string slices.
This struct is created with the lines method on str.
See its documentation for more.
Trait Implementations
impl<'a> Iterator for Lines<'a>[src]
type Item = &'a str
fn next(&mut self) -> Option<&'a str>
fn size_hint(&self) -> (usize, Option<usize>)
impl<'a> Debug for Lines<'a>[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.