Enum screeps::pathfinder::MultiRoomCostResult
source · pub enum MultiRoomCostResult {
CostMatrix(CostMatrix),
Impassable,
Default,
}
Variants§
Trait Implementations§
source§impl Default for MultiRoomCostResult
impl Default for MultiRoomCostResult
source§fn default() -> MultiRoomCostResult
fn default() -> MultiRoomCostResult
Returns the “default value” for a type. Read more
source§impl From<MultiRoomCostResult> for JsValue
impl From<MultiRoomCostResult> for JsValue
source§fn from(v: MultiRoomCostResult) -> JsValue
fn from(v: MultiRoomCostResult) -> JsValue
Converts to this type from the input type.
impl RoomCostResult for MultiRoomCostResult
Auto Trait Implementations§
impl Freeze for MultiRoomCostResult
impl RefUnwindSafe for MultiRoomCostResult
impl !Send for MultiRoomCostResult
impl !Sync for MultiRoomCostResult
impl Unpin for MultiRoomCostResult
impl UnwindSafe for MultiRoomCostResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more