Skip to main content

Module dom

Module dom 

Source

Structs§

MutDom
A holder that provides interior mutability for GC-managed values such as Dom<T>. Essentially a Cell<Dom<T>>, but safer.
MutNullableDom
A holder that provides interior mutability for GC-managed values such as Dom<T>, with nullability represented by an enclosing Option wrapper. Essentially a Cell<Option<Dom<T>>>, but safer.
UnrootedDom
A struct to make Unrooted Dom objects work. By taking a no_gc as reference, we ensure that the lifetime of this object is bounded by the lifetime of NoGC which enforces no gc happening.

Traits§

LayoutFromRaw
Trait that creates a specific struct from a raw DomObject. The implementer needs to be sure that this does not violate any lifetimes
ToLayout