Struct rle::ReverseSpan [−][src]
pub struct ReverseSpan<S: SplitableSpan + Clone>(pub S);Expand description
A splitablespan in reverse. This is useful for making lists in descending order.
Tuple Fields
0: STrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
The number of child items in the entry. This is indexed with the size used in truncate.
Split the entry, returning the part of the entry which was jettisoned. After truncating at
pos, self.len() == pos and the returned value contains the rest of the items. Read more
The inverse of truncate. This method mutably truncates an item, keeping all content from at..item.len() and returning the item range from 0..at. Read more
See if the other item can be appended to self. can_append will always be called
immediately before append. Read more
Merge the passed item into self. Essentially, self = self + other. Read more
Auto Trait Implementations
impl<S> RefUnwindSafe for ReverseSpan<S> where
S: RefUnwindSafe,
impl<S> Send for ReverseSpan<S> where
S: Send,
impl<S> Sync for ReverseSpan<S> where
S: Sync,
impl<S> Unpin for ReverseSpan<S> where
S: Unpin,
impl<S> UnwindSafe for ReverseSpan<S> where
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more