pub trait Draw<PDK: Pdk>: DrawBoxed<PDK> {
// Required method
fn draw(self, recv: &mut DrawReceiver<PDK>) -> Result<()>;
}
Expand description
An object that can be drawn in a CellBuilder
.
Required Methods§
sourcefn draw(self, recv: &mut DrawReceiver<PDK>) -> Result<()>
fn draw(self, recv: &mut DrawReceiver<PDK>) -> Result<()>
Draws self
inside recv
.