Skip to main content

Module custom_node_bridge

Module custom_node_bridge 

Source
Expand description

Unified layout bridge for custom nodes.

Implements the unified [CustomLayouter] trait for both block and inline formatting contexts. The resolved [Display] is taken from the owned [Style] (layout_style) at layout time and drives the shape of the returned [LayoutBox].

Structsยง

CustomNodeBridge
A [CustomLayouter] implementation for custom nodes.