Skip to main content

ShapeWrapper

Type Alias ShapeWrapper 

Source
pub type ShapeWrapper = Box<InnerShapeWrapper>;
Expand description

A wrapper type for the Shape trait to allow dynamic dispatch.

Aliased Type§

pub struct ShapeWrapper(/* private fields */);

Trait Implementations§

Source§

impl PartialEq for ShapeWrapper

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.