TextRunBounds
struct · ferroui-base · v0.5.0
struct TextRunBounds
The bounding rectangle of text run.
Members
text_source_character_index
fn text_source_character_index(self: &Self) -> i32
Character index of first character of text run.
length
fn length(self: &Self) -> i32
Character length of text run.
rectangle
fn rectangle(self: &Self) -> Rect
Text run bounding rectangle.
text_run
fn text_run(self: &Self) -> &Rc<dyn TextRun>
Text run.
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.