Skip to main content

MeshRouter

Trait MeshRouter 

Source
pub trait MeshRouter: Send + Sync {
    // Required method
    fn route(
        &self,
        t: &PlasticineTarget,
        budget: LinkBudget,
        nets: &[MeshNet],
    ) -> MeshRouting;
}
Expand description

A router for the mesh’s vector nets. place_unrolled places with row-balanced cells and routes through the installed router (place_routed), or falls back to place’s xy-static routes when none is.

Required Methods§

Source

fn route( &self, t: &PlasticineTarget, budget: LinkBudget, nets: &[MeshNet], ) -> MeshRouting

Implementors§