pub trait DrawBoxed<S: Schema> {
// Required method
fn draw_boxed(self: Box<Self>, recv: &mut DrawReceiver<S>) -> Result<()>;
}
Expand description
An object where Box<Self>
can be drawn.
Required Methods§
Sourcefn draw_boxed(self: Box<Self>, recv: &mut DrawReceiver<S>) -> Result<()>
fn draw_boxed(self: Box<Self>, recv: &mut DrawReceiver<S>) -> Result<()>
Draws self
inside recv
.