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 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
}