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§
sourcefn draw_boxed(self: Box<Self>, recv: &mut DrawReceiver<PDK>) -> Result<()>
fn draw_boxed(self: Box<Self>, recv: &mut DrawReceiver<PDK>) -> Result<()>
Draws self
inside recv
.