Trait kludgine::ShapeSource

source ·
pub trait ShapeSource<Unit, const TEXTURED: bool>: DrawableSource + ShapeSource<Unit> { }
Expand description

A source of triangle data for a shape.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Unit, const TEXTURED: bool> ShapeSource<Unit, TEXTURED> for Shape<Unit, TEXTURED>
where Unit: Copy,