Trait LayoutBaseMT

Source
pub trait LayoutBaseMT: LayoutBase<LayerId = Self::LayerIdMT, ShapeId = Self::ShapeIdMT> + HierarchyBaseMT {
    type LayerIdMT: IdTypeMT;
    type ShapeIdMT: IdTypeMT;
}
Expand description

Helper trait which constrains LayoutBase for such that ID types are Send and Sync as commonly used for parallel algorithms.

Required Associated Types§

Source

type LayerIdMT: IdTypeMT

Identifier for layers.

Source

type ShapeIdMT: IdTypeMT

Identifier for shapes.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§