Expand description
Row Cursor
Fields
row: usize
0 is first row, and so on.
Note that a single paragraph can span multiple rows.
(a paragraph is text separated by \n
).
column: usize
Character based (NOT bytes). It is fine if this points to something beyond the end of the current row. When moving up/down it may again be within the next row.
Trait Implementations
impl Copy for RCursor
impl StructuralPartialEq for RCursor
Auto Trait Implementations
impl RefUnwindSafe for RCursor
impl Send for RCursor
impl Sync for RCursor
impl Unpin for RCursor
impl UnwindSafe for RCursor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more