Struct screeps::pathfinder::SearchGoal
source · pub struct SearchGoal { /* private fields */ }
Implementations§
source§impl SearchGoal
impl SearchGoal
Trait Implementations§
source§impl From<SearchGoal> for JsValue
impl From<SearchGoal> for JsValue
source§fn from(value: SearchGoal) -> Self
fn from(value: SearchGoal) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for SearchGoal
impl FromWasmAbi for SearchGoal
source§impl IntoWasmAbi for SearchGoal
impl IntoWasmAbi for SearchGoal
source§impl LongRefFromWasmAbi for SearchGoal
impl LongRefFromWasmAbi for SearchGoal
source§impl OptionFromWasmAbi for SearchGoal
impl OptionFromWasmAbi for SearchGoal
source§impl OptionIntoWasmAbi for SearchGoal
impl OptionIntoWasmAbi for SearchGoal
source§impl RefFromWasmAbi for SearchGoal
impl RefFromWasmAbi for SearchGoal
§type Anchor = Ref<'static, SearchGoal>
type Anchor = Ref<'static, SearchGoal>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.source§impl RefMutFromWasmAbi for SearchGoal
impl RefMutFromWasmAbi for SearchGoal
source§impl TryFromJsValue for SearchGoal
impl TryFromJsValue for SearchGoal
source§impl VectorFromWasmAbi for SearchGoal
impl VectorFromWasmAbi for SearchGoal
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[SearchGoal]>
source§impl VectorIntoWasmAbi for SearchGoal
impl VectorIntoWasmAbi for SearchGoal
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[SearchGoal]>) -> Self::Abi
source§impl WasmDescribeVector for SearchGoal
impl WasmDescribeVector for SearchGoal
Auto Trait Implementations§
impl RefUnwindSafe for SearchGoal
impl Send for SearchGoal
impl Sync for SearchGoal
impl Unpin for SearchGoal
impl UnwindSafe for SearchGoal
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
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.