pub trait DrawBoxed<PDK: Pdk> {
    // Required method
    fn draw_boxed(self: Box<Self>, recv: &mut DrawReceiver<PDK>) -> Result<()>;
}
Expand description

An object where Box<Self> can be drawn.

Required Methods§

source

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

Draws self inside recv.

Implementors§

source§

impl<PDK: Pdk, T: Draw<PDK>> DrawBoxed<PDK> for T