Trait substrate::layout::Draw

source ·
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§

source

fn draw(self, recv: &mut DrawReceiver<PDK>) -> Result<()>

Draws self inside recv.

Implementations on Foreign Types§

source§

impl<PDK: Pdk, T: Draw<PDK> + ?Sized> Draw<PDK> for Box<T>

source§

fn draw(self, recv: &mut DrawReceiver<PDK>) -> Result<()>

Implementors§

source§

impl<PDK: Pdk> Draw<PDK> for Element

source§

impl<PDK: Pdk> Draw<PDK> for RawInstance

source§

impl<PDK: Pdk> Draw<PDK> for Shape

source§

impl<PDK: Pdk> Draw<PDK> for Text

source§

impl<PDK: Pdk> Draw<PDK> for DrawReceiver<PDK>

source§

impl<PDK: Pdk> Draw<PDK> for ArrayTiler<PDK>

source§

impl<PDK: Pdk> Draw<PDK> for TiledGrid<PDK>

source§

impl<PDK: Pdk, I: Layout<PDK>> Draw<PDK> for &Instance<I>

source§

impl<PDK: Pdk, I: Layout<PDK>> Draw<PDK> for Instance<I>