substrate::layout

Trait DrawBoxed

Source
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§

Source

fn draw_boxed(self: Box<Self>, recv: &mut DrawReceiver<S>) -> Result<()>

Draws self inside recv.

Implementors§

Source§

impl<S: Schema, T: Draw<S>> DrawBoxed<S> for T