pub trait LayoutDomTypeBundle<'dom> {
type ConcreteLayoutNode: LayoutNode<'dom>;
type ConcreteLayoutElement: LayoutElement<'dom>;
type ConcreteDangerousStyleNode: DangerousStyleNode<'dom>;
type ConcreteDangerousStyleElement: DangerousStyleElement<'dom>;
}Expand description
A trait that holds all the concrete implementations of the Layout DOM traits. This is
useful because it means that other types (specifically the implementation of the Layout
trait) can be parameterized over a single type (LayoutDomTypeBundle) rather than all of
the various Layout DOM trait implementations.
Required Associated Types§
Sourcetype ConcreteLayoutNode: LayoutNode<'dom>
type ConcreteLayoutNode: LayoutNode<'dom>
The concrete implementation of LayoutNode from script.
Sourcetype ConcreteLayoutElement: LayoutElement<'dom>
type ConcreteLayoutElement: LayoutElement<'dom>
The concrete implementation of LayoutElement from script.
Sourcetype ConcreteDangerousStyleNode: DangerousStyleNode<'dom>
type ConcreteDangerousStyleNode: DangerousStyleNode<'dom>
The concrete implementation of DangerousStyleNode from script.
Sourcetype ConcreteDangerousStyleElement: DangerousStyleElement<'dom>
type ConcreteDangerousStyleElement: DangerousStyleElement<'dom>
The concrete implementation of DangerousStyleElement from script.