Trait screeps::traits::CostMatrixSet
source · pub trait CostMatrixSet {
// Required methods
fn set<P, V>(&mut self, position: P, cost: V)
where P: HasLocalPosition,
V: Borrow<u8>;
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>;
}Required Methods§
fn set<P, V>(&mut self, position: P, cost: V)where P: HasLocalPosition, V: Borrow<u8>,
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>,
Object Safety§
This trait is not object safe.