pub fn chunks(&self) -> RawContentIter {
        RawContentIter {
            next: Some(&self.head),
            at_start: true
        }
    }
/// Iterate over all "string chunks" in the rope. Iterated chunks are pairs of (str, char_len)
/// items. The way items are split by the library is undefined, and should not be relied upon.
/// (It may change in minor point releases).
///
/// # Example
///
/// ```
/// # use jumprope::*;
/// let rope = JumpRope::from("oh hai");
/// let mut string = String::new();
/// for (str, char_len) in rope.chunks() {
///     assert_eq!(str.chars().count(), char_len);
///     string.push_str(str);
/// }
/// assert_eq!(string, "oh hai");
/// ```
Iterate over all "string chunks" in the rope. Iterated chunks are pairs of (str, char_len)
items. The way items are split by the library is undefined, and should not be relied upon.
(It may change in minor point releases).
Iterate over all " string chunks " in the rope . Iterated chunks are pairs of ( str char_len ) items . The way items are split by the library is undefined and should not be relied upon . ( It may change in minor point releases ) .
pub fn chunks(&self) -> RawContentIter {
        RawContentIter {
            next: Some(&self.head),
            at_start: true
        }
    }
pub fn chunks ( & self ) -> RawContentIter { RawContentIter { next : Some ( & self . head ) , at_start : true } }
Iterate over all "string chunks" in the rope.
Iterate over all " string chunks " in the rope .
&self
example
None
use jumprope::*;
let rope = JumpRope::from("oh hai");
let mut string = String::new();
for (str, char_len) in rope.chunks() {
assert_eq!(str.chars().count(), char_len);
string.push_str(str);
}
assert_eq!(string, "oh hai");
```
let rope = JumpRope :: from ( " oh hai " ) ; let mut string = String :: new () ; for ( str char_len ) in rope . chunks () { assert_eq! ( str . chars () . count () char_len ) ; string . push_str ( str ) ; } assert_eq! ( string " oh hai " ) ; ` ` `