mizchi/crater-renderer/vrt does not have a README file
pub(all) struct CssMutation {
selector : String
property : String
action : CssMutationAction
} derive(Eq, Debug)impl Show for CssMutationimpl Show for CssMutationActionpub(all) struct PreparedVrtPage {
doc : Document
viewport : Size[Double]
ctx : RenderContext
prepared : PreparedRenderDocument
}pub(all) struct RenderSession {
doc : Document
viewport : Size[Double]
ctx : RenderContext
base_node : Node
base_layout : Layout
base_paint : PaintNode
measurements : Array[RecordedMetric]
images : Array[RecordedImage]
}fn RenderSession::branch_diff(self : RenderSession, mutations : Array[CssMutation]) -> PaintTreeDifffn RenderSession::branch_full_diff(self : RenderSession, mutations : Array[CssMutation]) -> PaintTreeDifffn RenderSession::branch_reusing_layout(self : RenderSession, mutations : Array[CssMutation]) -> PaintNodefn RenderSession::branch_reusing_layout_diff(self : RenderSession, mutations : Array[CssMutation]) -> PaintTreeDifffn RenderSession::open(html : String, viewport : Size[Double], external_css : Array[String]) -> RenderSessionfn RenderSession::open_with_recording(html : String, viewport : Size[Double], external_css : Array[String], measurements : Array[RecordedMetric], images : Array[RecordedImage]) -> RenderSessionfn diff_rendered_paint_trees(baseline_html : String, current_html : String, viewport : Size[Double]) -> PaintTreeDifffn prepare_vrt_page(html : String, viewport : Size[Double], external_css : Array[String]) -> PreparedVrtPagefn prepare_vrt_page_with_prepared_external_css(html : String, viewport : Size[Double], external_css : PreparedExternalCss) -> PreparedVrtPagefn render_html_batch_variants(html : String, viewport : Size[Double], variants : Array[RenderVariant]) -> Array[RenderVariantResult]fn render_html_to_paint_tree_with_prepared_external_css(html : String, viewport : Size[Double], external_css : PreparedExternalCss) -> PaintNodeRenderer and VRT packages for crater
Dependencies