Struct cosmic_text::Cursor
source · Expand description
Current cursor location
Fields
line: usize
Text line the cursor is on
index: usize
Index of glyph at cursor (will insert behind this glyph)
Implementations
Trait Implementations
impl Copy for Cursor
impl Eq for Cursor
impl StructuralEq for Cursor
impl StructuralPartialEq for Cursor
Auto Trait Implementations
impl RefUnwindSafe for Cursor
impl Send for Cursor
impl Sync for Cursor
impl Unpin for Cursor
impl UnwindSafe for Cursor
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