Skip to main content

LayoutQuery

Trait LayoutQuery 

Source
pub trait LayoutQuery {
    // Required methods
    fn shapes_in<'a>(
        &'a self,
        cell: CellId,
        layer: LayerIndex,
        bbox: Bbox,
    ) -> Box<dyn Iterator<Item = ShapeRef<'a>> + 'a>;
    fn instances_in<'a>(
        &'a self,
        cell: CellId,
        bbox: Bbox,
    ) -> Box<dyn Iterator<Item = InstanceRef<'a>> + 'a>;
}

Required Methods§

Source

fn shapes_in<'a>( &'a self, cell: CellId, layer: LayerIndex, bbox: Bbox, ) -> Box<dyn Iterator<Item = ShapeRef<'a>> + 'a>

Source

fn instances_in<'a>( &'a self, cell: CellId, bbox: Bbox, ) -> Box<dyn Iterator<Item = InstanceRef<'a>> + 'a>

Implementors§