[−][src]Struct edit_client::walkers::Walker
Fields
stepper: CaretStepper<'a>
Methods
impl<'a> Walker<'a>
[src]
impl<'a> Walker<'a>
pub fn new(doc: &'a Doc<RtfSchema>) -> Walker<'a>
[src]
pub fn new(doc: &'a Doc<RtfSchema>) -> Walker<'a>
pub fn doc(&self) -> &'a DocStepper<RtfSchema>
[src]
pub fn doc(&self) -> &'a DocStepper<RtfSchema>
pub fn goto_pos(&mut self, target_pos: isize) -> bool
[src]
pub fn goto_pos(&mut self, target_pos: isize) -> bool
pub fn goto_end(&mut self)
[src]
pub fn goto_end(&mut self)
pub fn to_caret(
doc: &'a Doc<RtfSchema>,
client_id: &str,
position: Pos
) -> Result<Walker<'a>, Error>
[src]
pub fn to_caret(
doc: &'a Doc<RtfSchema>,
client_id: &str,
position: Pos
) -> Result<Walker<'a>, Error>
pub fn to_cursor(doc: &'a Doc<RtfSchema>, cur: &CurSpan) -> Walker<'a>
[src]
pub fn to_cursor(doc: &'a Doc<RtfSchema>, cur: &CurSpan) -> Walker<'a>
pub fn parent(&mut self) -> bool
[src]
pub fn parent(&mut self) -> bool
pub fn back_block_or_block_object(&mut self) -> bool
[src]
pub fn back_block_or_block_object(&mut self) -> bool
pub fn at_start_of_block(&mut self) -> bool
[src]
pub fn at_start_of_block(&mut self) -> bool
pub fn back_block(&mut self) -> bool
[src]
pub fn back_block(&mut self) -> bool
pub fn next_block(&mut self) -> bool
[src]
pub fn next_block(&mut self) -> bool
pub fn next_char(&mut self)
[src]
pub fn next_char(&mut self)
pub fn back_char(&mut self)
[src]
pub fn back_char(&mut self)
pub fn delta(&self, previous: &Self) -> Option<isize>
[src]
pub fn delta(&self, previous: &Self) -> Option<isize>
pub fn to_writer(&self) -> OpWriter<RtfSchema>
[src]
pub fn to_writer(&self) -> OpWriter<RtfSchema>
pub fn stepper(&self) -> &'a DocStepper<RtfSchema>
[src]
pub fn stepper(&self) -> &'a DocStepper<RtfSchema>
Trait Implementations
impl<'a> Clone for Walker<'a>
[src]
impl<'a> Clone for Walker<'a>
fn clone(&self) -> Walker<'a>
[src]
fn clone(&self) -> Walker<'a>
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> Debug for Walker<'a>
[src]
impl<'a> Debug for Walker<'a>
Auto Trait Implementations
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
impl<T> Erased for T
impl<T> Erased for T