Struct screeps::pathfinder::SearchResults
source · pub struct SearchResults {
pub ops: u32,
pub cost: u32,
pub incomplete: bool,
/* private fields */
}
Fields
ops: u32
cost: u32
incomplete: bool
Implementations
sourceimpl SearchResults
impl SearchResults
pub fn opaque_path(&self) -> &Array
pub fn load_local_path(&self) -> Vec<LocalRoomPosition>
pub fn load_semi_local_path(&self) -> Vec<RoomPosition>
Auto Trait Implementations
impl RefUnwindSafe for SearchResults
impl Send for SearchResults
impl Sync for SearchResults
impl Unpin for SearchResults
impl UnwindSafe for SearchResults
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T, U> IntoExpectedType<U> for Twhere
U: FromExpectedType<T>,
impl<T, U> IntoExpectedType<U> for Twhere
U: FromExpectedType<T>,
sourcefn into_expected_type(self) -> Result<U, ConversionError>
fn into_expected_type(self) -> Result<U, ConversionError>
Casts this value as the target type, making the assumption that the types are correct. Read more