Module line

Source

Structsยง

AbsolutelyPositionedLineItem ๐Ÿ”’
AtomicLineItem ๐Ÿ”’
FloatLineItem ๐Ÿ”’
LineItemLayout ๐Ÿ”’
The second phase of super::InlineFormattingContext layout: once items are gathered for a line, we must lay them out and create fragments for them, properly positioning them according to their baselines and also handling absolutely positioned children.
LineItemLayoutInlineContainerState ๐Ÿ”’
The state used when laying out a collection of LineItems into a line. This state is stored per-inline container. For instance, when laying out the conents of a <span> a fresh LineItemLayoutInlineContainerState is pushed onto LineItemLayoutโ€™s stack of states.
LineLayoutInlineContainerFlags ๐Ÿ”’
LineMetrics ๐Ÿ”’
TextRunLineItem ๐Ÿ”’

Enumsยง

LineItem ๐Ÿ”’

Functionsยง

line_height ๐Ÿ”’
sort_by_indices_in_place ๐Ÿ”’
Sort a mutable slice by the the given indices array in place, reording the slice so that final value of slice[x] is slice[indices[x]].