Skip to main content

Module shape

Module shape 

Source
Expand description

This module defines a trait for geometric shapes and a wrapper type for dynamic dispatch.

Enums§

ShapeType

Traits§

Shape
Shape trait for defining geometric shapes.

Type Aliases§

InnerShapeWrapper
A type alias for an object implementing the Shape trait. This is separated from ShapeWrapper to allow for implementing the Debug trait.
ShapeWrapper
A wrapper type for the Shape trait to allow dynamic dispatch.