Skip to main content

InnerShapeWrapper

Type Alias InnerShapeWrapper 

Source
pub type InnerShapeWrapper = dyn Shape + Send + Sync;
Expand description

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

Trait Implementations§

Source§

impl Debug for &InnerShapeWrapper

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for &InnerShapeWrapper

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.