[−][src]Struct oatie::stepper::DocStepper
Methods
impl<'a, S: Schema> DocStepper<'a, S>
[src]
impl<'a, S: Schema> DocStepper<'a, S>
pub fn new<'b>(span: &'b [DocElement<S>]) -> DocStepper<'b, S>
[src]
pub fn new<'b>(span: &'b [DocElement<S>]) -> DocStepper<'b, S>
pub fn char_cursor_update(&mut self)
[src]
pub fn char_cursor_update(&mut self)
After an internal method changes what head will return, this method should be called. If head is a string, create a char_cursor on the first character of the string. If head is a group, clear the char_cursor.
pub fn char_index(&self) -> Option<usize>
[src]
pub fn char_index(&self) -> Option<usize>
pub fn char_cursor_expect(&self) -> &CharCursor<S>
[src]
pub fn char_cursor_expect(&self) -> &CharCursor<S>
pub unsafe fn raw_index(&self) -> (Option<usize>, Vec<isize>)
[src]
pub unsafe fn raw_index(&self) -> (Option<usize>, Vec<isize>)
pub fn parent_attrs(&self) -> &S::GroupProperties
[src]
pub fn parent_attrs(&self) -> &S::GroupProperties
pub fn next(&mut self)
[src]
pub fn next(&mut self)
pub fn prev(&mut self)
[src]
pub fn prev(&mut self)
pub fn head<'h>(&'h self) -> Option<&'h DocElement<S>>
[src]
pub fn head<'h>(&'h self) -> Option<&'h DocElement<S>>
pub fn unhead<'h>(&'h self) -> Option<&'h DocElement<S>>
[src]
pub fn unhead<'h>(&'h self) -> Option<&'h DocElement<S>>
pub fn peek(&self) -> Option<DocElement<S>>
[src]
pub fn peek(&self) -> Option<DocElement<S>>
pub fn unskip(&mut self, skip: usize)
[src]
pub fn unskip(&mut self, skip: usize)
pub fn skip(&mut self, skip: usize)
[src]
pub fn skip(&mut self, skip: usize)
pub fn skip_len(&self) -> usize
[src]
pub fn skip_len(&self) -> usize
The number of elements to skip until the end of the current group the stepper is tracking were reached. After that, head() returns None and exit() should be called.
pub fn at_root(&self) -> bool
[src]
pub fn at_root(&self) -> bool
pub fn is_back_done(&self) -> bool
[src]
pub fn is_back_done(&self) -> bool
pub fn is_done(&self) -> bool
[src]
pub fn is_done(&self) -> bool
pub fn unenter(&mut self) -> &mut Self
[src]
pub fn unenter(&mut self) -> &mut Self
pub fn enter(&mut self) -> &mut Self
[src]
pub fn enter(&mut self) -> &mut Self
pub fn unexit(&mut self)
[src]
pub fn unexit(&mut self)
pub fn exit(&mut self)
[src]
pub fn exit(&mut self)
Trait Implementations
impl<'a, S: Schema> PartialEq<DocStepper<'a, S>> for DocStepper<'a, S>
[src]
impl<'a, S: Schema> PartialEq<DocStepper<'a, S>> for DocStepper<'a, S>
fn eq(&self, b: &DocStepper<'a, S>) -> bool
[src]
fn eq(&self, b: &DocStepper<'a, S>) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl<'a, S: Clone + Schema> Clone for DocStepper<'a, S>
[src]
impl<'a, S: Clone + Schema> Clone for DocStepper<'a, S>
fn clone(&self) -> DocStepper<'a, S>
[src]
fn clone(&self) -> DocStepper<'a, S>
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a, S: Debug + Schema> Debug for DocStepper<'a, S>
[src]
impl<'a, S: Debug + Schema> Debug for DocStepper<'a, S>
Auto Trait Implementations
impl<'a, S> Send for DocStepper<'a, S> where
<S as Schema>::CharsProperties: Send + Sync,
<S as Schema>::GroupProperties: Send + Sync,
impl<'a, S> Send for DocStepper<'a, S> where
<S as Schema>::CharsProperties: Send + Sync,
<S as Schema>::GroupProperties: Send + Sync,
impl<'a, S> Sync for DocStepper<'a, S> where
<S as Schema>::CharsProperties: Sync,
<S as Schema>::GroupProperties: Sync,
impl<'a, S> Sync for DocStepper<'a, S> where
<S as Schema>::CharsProperties: Sync,
<S as Schema>::GroupProperties: Sync,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T