LayoutDomTypeBundle

Trait LayoutDomTypeBundle 

Source
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§

Source

type ConcreteLayoutNode: LayoutNode<'dom>

The concrete implementation of LayoutNode from script.

Source

type ConcreteLayoutElement: LayoutElement<'dom>

The concrete implementation of LayoutElement from script.

Source

type ConcreteDangerousStyleNode: DangerousStyleNode<'dom>

The concrete implementation of DangerousStyleNode from script.

Source

type ConcreteDangerousStyleElement: DangerousStyleElement<'dom>

The concrete implementation of DangerousStyleElement from script.

Implementors§