Struct floem_cosmic_text::HitPosition
source · pub struct HitPosition {
pub line: usize,
pub point: Point,
pub glyph_ascent: f64,
pub glyph_descent: f64,
}
Fields§
§line: usize
Text line the cursor is on
point: Point
Point of the cursor
glyph_ascent: f64
ascent of glyph
glyph_descent: f64
descent of glyph
Auto Trait Implementations§
impl Freeze for HitPosition
impl RefUnwindSafe for HitPosition
impl Send for HitPosition
impl Sync for HitPosition
impl Unpin for HitPosition
impl UnwindSafe for HitPosition
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