mizchi/crater-core/layout_view does not have a README file
pub(open) trait LayoutView {
fn uid(Self) -> Int
fn computed_x(Self) -> Double
fn computed_y(Self) -> Double
fn computed_width(Self) -> Double
fn computed_height(Self) -> Double
fn children(Self) -> Array[Self]
fn text(Self) -> String?
fn resource_state(Self) -> ResourceLoadState?
}pub(all) enum ResourceLoadState {
Pending
Resolved
Error
}Layout output types (Layout, LayoutResult, LayoutContext, MeasureFunc, ...) and Node tree for crater. Depends on mizchi/css for value types.
Dependencies