Struct an_rope::RopeSlice
[−]
[src]
pub struct RopeSlice<'a> { /* fields omitted */ }
An immutable borrowed slice of a Rope
.
A RopeSlice represents an immutable borrowed slice of some or all the
characters in a Rope
.
Methods
impl<'a> RopeSlice<'a>
[src]
fn chars(&'a self) -> Box<Iterator<Item=char> + 'a>
fn char_indices(&'a self) -> Box<Iterator<Item=(usize, char)> + 'a>
fn bytes(&'a self) -> Box<Iterator<Item=u8> + 'a>
fn split_whitespace(&'a self) -> Box<Iterator<Item=&'a str> + 'a>
fn new(node: &'a Node, range: Range<usize>) -> Self
fn len(&self) -> usize
Trait Implementations
impl<'a> Display for RopeSlice<'a>
[src]
impl<'a> Debug for RopeSlice<'a>
[src]
impl<'a> Eq for RopeSlice<'a>
[src]
impl<'a> PartialEq for RopeSlice<'a>
[src]
fn eq(&self, other: &RopeSlice<'a>) -> bool
A rope equals another rope if all the bytes in both are equal.
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl<'a> PartialEq<str> for RopeSlice<'a>
[src]
fn eq(&self, other: &str) -> bool
A rope equals another rope if all the bytes in both are equal.
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl<'a> PartialEq<&'a str> for RopeSlice<'a>
[src]
fn eq(&self, other: &&'a str) -> bool
A rope equals another rope if all the bytes in both are equal.
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.