Trait screeps::pathfinder::CostMatrixSet
source · [−]pub trait CostMatrixSet {
fn set_multi<D, B, P, V>(&mut self, data: D)
where
D: IntoIterator<Item = B>,
B: Borrow<(P, V)>,
P: HasLocalPosition,
V: Borrow<u8>;
fn set<P, V>(&mut self, position: P, cost: V)
where
P: HasLocalPosition,
V: Borrow<u8>,
{ ... }
}
Required Methods
sourcefn set_multi<D, B, P, V>(&mut self, data: D)where
fn set_multi<D, B, P, V>(&mut self, data: D)where
D: IntoIterator<Item = B>,
B: Borrow<(P, V)>,
P: HasLocalPosition,
V: Borrow<u8>,
Provided Methods
sourcefn set<P, V>(&mut self, position: P, cost: V)where