Trait screeps::pathfinder::CostMatrixSet[][src]

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

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>, 
[src]

Loading content...

Provided methods

fn set<P, V>(&mut self, position: P, cost: V) where
    P: HasLocalPosition,
    V: Borrow<u8>, 
[src]

Loading content...

Implementors

impl<'a> CostMatrixSet for CostMatrix<'a>[src]

impl<'a> CostMatrixSet for LocalCostMatrix[src]

Loading content...