Trait cushy::SimpleRenderOperation
source · pub trait SimpleRenderOperation:
Send
+ Sync
+ 'static {
// Required methods
fn new(graphics: &mut Graphics<'_>) -> Self;
fn render(
&self,
origin: Point<Px>,
opacity: f32,
graphics: &mut RenderingGraphics<'_, '_>,
);
}
Expand description
A RenderOperation
with no per-drawing-call state.
Required Methods§
Object Safety§
This trait is not object safe.