Module layout_2020::flow::inline::line
source ยท Structsยง
- 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. - The state used when laying out a collection of
LineItem
s into a line. This state is stored per-inline container. For instance, when laying out the conents of a<span>
a freshLineItemLayoutInlineContainerState
is pushed ontoLineItemLayout
โs stack of states. - LineMetrics ๐
- TextRunLineItem ๐
Enumsยง
- LineItem ๐
Functionsยง
- line_height ๐
- Sort a mutable slice by the the given indices array in place, reording the slice so that final value of
slice[x]
isslice[indices[x]]
.