Crate layout_2020
source ·Re-exports§
pub use flow::BoxTree;
Modules§
- cell π
- construct_
modern πLayout construction code that is shared between modern layout modes (Flexbox and CSS Grid) - dom_
traversal π - flexbox π
- Flow layout, also known as block-and-inline layout.
- formatting_
contexts π - fragment_
tree π - layout_
box_ πbase - Supports writing a trace file created during each layout scope that can be viewed by an external tool to make layout debugging easier.
- lists π
- positioned π
- Utilities for querying the layout, as needed by layout.
- replaced π
- sizing π
- style_
ext π - HTML Tables (β―Β°β‘Β°)β―οΈ΅ β»ββ»
- taffy π
Macros§
Structs§
- Constraint
Space πRepresents the set of constraints that we use when computing the min-content and max-content inline sizes of an element. - Containing
Block π - Containing
Block πSize - A variant of
ContainingBlock
that allows an indefinite inline size. Useful for code that is shared for both layout (where we know the inline size of the containing block) and intrinsic sizing (where we donβt know it).