Struct cosmic_text::LayoutCursor
source · pub struct LayoutCursor {
pub line: usize,
pub layout: usize,
pub glyph: usize,
}
Expand description
The position of a cursor within a Buffer
.
Fields§
§line: usize
§layout: usize
§glyph: usize
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LayoutCursor
impl Send for LayoutCursor
impl Sync for LayoutCursor
impl Unpin for LayoutCursor
impl UnwindSafe for LayoutCursor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more