pub struct AutofitMeasurement {
pub usable: Rect,
pub physical_height: f64,
pub line_advance_height: f64,
pub font_scale: f64,
pub width_fits: bool,
pub fits: bool,
}Expand description
One real authoring layout trial before vertical anchoring.
Fields§
§usable: Rect§physical_height: f64§line_advance_height: f64§font_scale: f64§width_fits: boolWhether actual shaped lines fit the fixed available width.
fits: boolTrait Implementations§
Source§impl Clone for AutofitMeasurement
impl Clone for AutofitMeasurement
Source§impl Debug for AutofitMeasurement
impl Debug for AutofitMeasurement
Source§impl PartialEq for AutofitMeasurement
impl PartialEq for AutofitMeasurement
impl StructuralPartialEq for AutofitMeasurement
Auto Trait Implementations§
impl Freeze for AutofitMeasurement
impl RefUnwindSafe for AutofitMeasurement
impl Send for AutofitMeasurement
impl Sync for AutofitMeasurement
impl Unpin for AutofitMeasurement
impl UnsafeUnpin for AutofitMeasurement
impl UnwindSafe for AutofitMeasurement
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