Struct libreda_pnr::place::mixed_size_placer_cascade::PlacerCascade
source · [−]pub struct PlacerCascade<L: L2NBase> { /* private fields */ }
Expand description
A pipeline of placers. The result of the first stage is used as the initial placement for the next stage.
Implementations
sourceimpl<L: L2NBase> PlacerCascade<L>
impl<L: L2NBase> PlacerCascade<L>
sourcepub fn new(placers: Vec<Box<dyn MixedSizePlacer<L>>>) -> Self
pub fn new(placers: Vec<Box<dyn MixedSizePlacer<L>>>) -> Self
Create a new placer cascade.
Trait Implementations
sourceimpl<C: L2NBase> MixedSizePlacer<C> for PlacerCascade<C>
impl<C: L2NBase> MixedSizePlacer<C> for PlacerCascade<C>
sourcefn find_cell_positions_impl(
&self,
placement_problem: &dyn PlacementProblem<C>
) -> Result<HashMap<C::CellInstId, SimpleTransform<C::Coord>>, PlacementError>
fn find_cell_positions_impl(
&self,
placement_problem: &dyn PlacementProblem<C>
) -> Result<HashMap<C::CellInstId, SimpleTransform<C::Coord>>, PlacementError>
Actual implementation of MixedSizePlacer::find_cell_positions
.
sourcefn find_cell_positions(
&self,
placement_problem: &dyn PlacementProblem<C>
) -> Result<HashMap<C::CellInstId, SimpleTransform<C::Coord>>, PlacementError>
fn find_cell_positions(
&self,
placement_problem: &dyn PlacementProblem<C>
) -> Result<HashMap<C::CellInstId, SimpleTransform<C::Coord>>, PlacementError>
Find the positions of all circuit instances inside circuit
. Read more
Auto Trait Implementations
impl<L> !RefUnwindSafe for PlacerCascade<L>
impl<L> !Send for PlacerCascade<L>
impl<L> !Sync for PlacerCascade<L>
impl<L> Unpin for PlacerCascade<L>
impl<L> !UnwindSafe for PlacerCascade<L>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more