TextBounds
struct · ferroui-base · v0.5.0
struct TextBounds
The bounding rectangle of a range of characters.
Members
rectangle
fn rectangle(self: &Self) -> Rect
Bounds rectangle.
flow_direction
fn flow_direction(self: &Self) -> FlowDirection
Text flow direction inside the bounding rectangle.
text_run_bounds
fn text_run_bounds(self: &Self) -> &[TextRunBounds]
Get a list of run bounding rectangles.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherClone
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.