Sign in

    mizchi/crater-renderer/vrt does not have a README file

    CssMutation

    pub(all) struct CssMutation {
    selector : String
    property : String
    action : CssMutationAction
    } derive(Eq,
    Debug
    )

    impl Show for CssMutation

    CssMutationAction

    pub(all) enum CssMutationAction {
    Remove
    Override(String)
    } derive(Eq,
    Debug
    )

    RenderVariant

    pub(all) struct RenderVariant {
    id : String
    mutations : Array[CssMutation]
    } derive(Eq,
    Debug
    )

    RenderVariantResult

    pub(all) struct RenderVariantResult {
    id : String
    paint_tree :
    PaintNode

    }

    diff_rendered_paint_trees

    fn diff_rendered_paint_trees(baseline_html : String, current_html : String, viewport :
    Size
    [Double]) ->
    PaintTreeDiff

    render_html_batch_variants

    fn render_html_batch_variants(html : String, viewport :
    Size
    [Double], variants : Array[RenderVariant]) -> Array[RenderVariantResult]

    render_html_to_paint_tree

    fn render_html_to_paint_tree(html : String, viewport :
    Size
    [Double]) ->
    PaintNode

    render_html_to_paint_tree_json

    fn render_html_to_paint_tree_json(html : String, viewport :
    Size
    [Double]) -> String

    render_html_to_paint_tree_with_external_css

    fn render_html_to_paint_tree_with_external_css(html : String, viewport :
    Size
    [Double], external_css : Array[String]) ->
    PaintNode

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io