mizchi/crater/dom does not have a README file
pub struct DomTree {
next_id : Int
nodes : Map[Int, DomNode]
root_id : Int
focused_node : Int?
mutations : MutationQueue
}fn[T] DomTree::flush_mutations_with(self : DomTree, handler : (MutationRecord) -> T) -> (Array[T], FlushResult)pub struct FlushResult {
processed : Int
nodes_affected : Int
needs_layout : Bool
}impl Show for FlushResultpub struct GetBBoxOptions {
fill : Bool
stroke : Bool
markers : Bool
clipped : Bool
}impl Eq for GetBBoxOptionsimpl Show for GetBBoxOptionspub struct MutationQueue {
records : Array[MutationRecord]
dirty_nodes : Map[Int, Bool]
is_flushing : Bool
deferred : Array[MutationRecord]
}fn[T] MutationQueue::flush_with(self : MutationQueue, handler : (MutationRecord) -> T) -> (Array[T], FlushResult)impl Show for MutationRecordfn MutationRecord::attribute(target : NodeId, name : String, old_value? : String?, new_value? : String?) -> MutationRecordfn MutationRecord::character_data(target : NodeId, old_value? : String?, new_value? : String?) -> MutationRecordfn MutationRecord::child_list(target : NodeId, added? : Array[NodeId], removed? : Array[NodeId]) -> MutationRecordpub enum MutationType {
ChildList
Attributes
CharacterData
StyleChange
}impl Eq for MutationTypeimpl Show for MutationTypepub type NodeId Intpub enum NodeType {
Document
DocumentType
Element
Text
Comment
}pub struct Point {
x : Double
y : Double
}pub struct Rect {
x : Double
y : Double
width : Double
height : Double
}pub enum SVGAngleType {
Unknown
Unspecified
Deg
Rad
Grad
Turn
}impl Eq for SVGAngleTypeimpl Show for SVGAngleTypepub enum SVGLengthType {
Unknown
Number
Percentage
Ems
Exs
Px
Cm
Mm
In
Pt
Pc
}impl Eq for SVGLengthTypeimpl Show for SVGLengthTypepub struct SVGMatrix {
a : Double
b : Double
c : Double
d : Double
e : Double
f : Double
}pub struct SVGNumber {
value : Double
}pub struct SVGPoint {
x : Double
y : Double
}pub struct SVGRect {
x : Double
y : Double
width : Double
height : Double
}impl Eq for SVGTransformimpl Show for SVGTransformpub enum SVGTransformType {
Unknown
Matrix
Translate
Scale
Rotate
SkewX
SkewY
}impl Eq for SVGTransformTypeimpl Show for SVGTransformTypepub struct ScrollState {
scroll_left : Double
scroll_top : Double
scroll_width : Double
scroll_height : Double
client_width : Double
client_height : Double
}impl Eq for ScrollStateimpl Show for ScrollStatefn ScrollState::new(scroll_width : Double, scroll_height : Double, client_width : Double, client_height : Double) -> ScrollStatefn create_svg_matrix_with(a : Double, b : Double, c : Double, d : Double, e : Double, f : Double) -> SVGMatrixInstall
Download zipCSS Layout Engine that implements Box/Flex/Grid