pub struct LayoutPlan<'a> {
pub viewport: ViewportHint,
pub header: HeaderGeometry,
pub layers: Vec<LayerGeometry<'a>>,
pub legend: LegendGeometry,
}Expand description
The complete layout plan for a diagram.
Contains all the geometry needed for rendering. Format-specific renderers (HTML, SVG) consume this plan to produce output.
Fields§
§viewport: ViewportHintViewport configuration.
header: HeaderGeometryHeader geometry.
layers: Vec<LayerGeometry<'a>>Ordered layer geometries (tiers, connectors, flow labels).
legend: LegendGeometryLegend geometry.
Trait Implementations§
Source§impl<'a> Clone for LayoutPlan<'a>
impl<'a> Clone for LayoutPlan<'a>
Source§fn clone(&self) -> LayoutPlan<'a>
fn clone(&self) -> LayoutPlan<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for LayoutPlan<'a>
impl<'a> Debug for LayoutPlan<'a>
Source§impl<'a> PartialEq for LayoutPlan<'a>
impl<'a> PartialEq for LayoutPlan<'a>
impl<'a> StructuralPartialEq for LayoutPlan<'a>
Auto Trait Implementations§
impl<'a> Freeze for LayoutPlan<'a>
impl<'a> RefUnwindSafe for LayoutPlan<'a>
impl<'a> Send for LayoutPlan<'a>
impl<'a> Sync for LayoutPlan<'a>
impl<'a> Unpin for LayoutPlan<'a>
impl<'a> UnsafeUnpin for LayoutPlan<'a>
impl<'a> UnwindSafe for LayoutPlan<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more