pub trait CanvasShapeGeometryPolicy: Send + Sync {
// Provided method
fn shape_bounds(&self, _shape: &CanvasShape) -> Option<Bounds<Pixels>> { ... }
}Provided Methods§
fn shape_bounds(&self, _shape: &CanvasShape) -> Option<Bounds<Pixels>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".