mizchi/crater/node 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
}#deprecated("Use `struct T(A)` to declare a newtype and use `.0` access the underlying type instead.")
fn LayoutDispatchFunc::inner(self : LayoutDispatchFunc) -> ((Node, LayoutContext) -> Layout)pub(all) enum LayoutWarning {
UnsupportedFloat(String)
UnsupportedPosition(String)
UnsupportedDisplay(String)
}impl Show for LayoutWarningpub struct Node {
id : String
uid : Int
style : Style
children : Array[Node]
measure : MeasureFunc?
text : String?
}pub(all) enum SizingMode {
Definite
MaxContent
}impl Eq for SizingMode