[−][src]Struct piet::HitTestTextPosition
return values for hit_test_text_position
.
Fields
point: Point
the point
's x
value is the position of the leading edge of the grapheme cluster containing the text position.
metrics: HitTestMetrics
metrics.text_position
will give you the text position.
Trait Implementations
impl Debug for HitTestTextPosition
[src][+]
impl Default for HitTestTextPosition
[src][+]
Auto Trait Implementations
impl Send for HitTestTextPosition
impl Sync for HitTestTextPosition
impl Unpin for HitTestTextPosition
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,