Struct screeps::game::map::FindRouteOptions
source · pub struct FindRouteOptions<F>where
F: FnMut(RoomName, RoomName) -> f64,{ /* private fields */ }Implementations§
source§impl<F> FindRouteOptions<F>where
F: FnMut(RoomName, RoomName) -> f64,
impl<F> FindRouteOptions<F>where F: FnMut(RoomName, RoomName) -> f64,
pub fn room_callback<F2>(self, route_callback: F2) -> FindRouteOptions<F2>where F2: FnMut(RoomName, RoomName) -> f64,
Trait Implementations§
Auto Trait Implementations§
impl<F> RefUnwindSafe for FindRouteOptions<F>where F: RefUnwindSafe,
impl<F> Send for FindRouteOptions<F>where F: Send,
impl<F> Sync for FindRouteOptions<F>where F: Sync,
impl<F> Unpin for FindRouteOptions<F>where F: Unpin,
impl<F> UnwindSafe for FindRouteOptions<F>where F: UnwindSafe,
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