Module layout_2020::flow::inline::line
source ยท Structsยง
- Atomic
Line ๐Item - Float
Line ๐Item - Line
Item ๐Layout The second phase ofsuper::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. - Line
Metrics ๐ - Text
RunLine ๐Item
Enumsยง
- Line
Item ๐
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]]
.