Layout output types (Layout, LayoutResult, LayoutContext, MeasureFunc, ...) and Node tree for crater. Depends on mizchi/css for value types.
Dependencies
mizchi/crater-core does not have a README file
pub(all) struct IntrinsicSize {
min_width : Double
max_width : Double
min_height : Double
max_height : Double
}pub(all) struct LayoutContext {
available_width : Double
available_height : Double?
sizing_mode : SizingMode
viewport_width : Double
viewport_height : Double
stretch_width : Bool
stretch_height : Bool
}pub(all) enum LayoutWarning {
UnsupportedFloat(String)
UnsupportedPosition(String)
UnsupportedDisplay(String)
} derive(Debug)impl Show for LayoutWarningLayout output types (Layout, LayoutResult, LayoutContext, MeasureFunc, ...) and Node tree for crater. Depends on mizchi/css for value types.
Dependencies