GlyphRunMetrics
struct · ferroui-base · v0.5.0
struct GlyphRunMetrics
Describes the metrics of a glyph run.
Members
baselinewidthwidth_including_trailing_whitespaceheighttrailing_whitespace_lengthnew_line_lengthfirst_clusterlast_cluster
baseline
baseline: f64
The baseline of the run.
width
width: f64
The width of the run without trailing whitespace.
width_including_trailing_whitespace
width_including_trailing_whitespace: f64
The width of the run including trailing whitespace.
height
height: f64
The height of the run.
trailing_whitespace_length
trailing_whitespace_length: i32
The number of trailing whitespace characters (UTF-16 code units).
new_line_length
new_line_length: i32
The number of trailing line break characters (UTF-16 code units).
first_cluster
first_cluster: i32
The first cluster of the run.
last_cluster
last_cluster: i32
The last cluster of the run.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.