pub struct InlineLayoutResult {
pub lines: Vec<LineBox>,
pub total_width: f32,
pub total_height: f32,
pub line_count: usize,
}Expand description
Complete measurement and geometry result of an inline layout pass.
Fields§
§lines: Vec<LineBox>The formatted line boxes.
total_width: f32Maximum bounding width across all line boxes.
total_height: f32Total vertical height of all stacked line boxes.
line_count: usizeLine box count.
Trait Implementations§
Source§impl Clone for InlineLayoutResult
impl Clone for InlineLayoutResult
Source§impl Debug for InlineLayoutResult
impl Debug for InlineLayoutResult
Source§impl PartialEq for InlineLayoutResult
impl PartialEq for InlineLayoutResult
impl StructuralPartialEq for InlineLayoutResult
Auto Trait Implementations§
impl Forget for InlineLayoutResult
impl Freeze for InlineLayoutResult
impl Move for InlineLayoutResult
impl RefUnwindSafe for InlineLayoutResult
impl Send for InlineLayoutResult
impl Sync for InlineLayoutResult
impl Unpin for InlineLayoutResult
impl UnsafeUnpin for InlineLayoutResult
impl UnwindSafe for InlineLayoutResult
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