pub struct FaaArcgisResolver { /* private fields */ }Implementations§
Source§impl FaaArcgisResolver
impl FaaArcgisResolver
pub fn new( feature_collections_json: JsValue, ) -> Result<FaaArcgisResolver, JsValue>
pub fn airports(&self) -> Result<JsValue, JsValue>
pub fn fixes(&self) -> Result<JsValue, JsValue>
pub fn airways(&self) -> Result<JsValue, JsValue>
pub fn airspaces(&self) -> Result<JsValue, JsValue>
pub fn resolve_airspace(&self, designator: String) -> Result<JsValue, JsValue>
pub fn resolve_fix(&self, code: String) -> Result<JsValue, JsValue>
pub fn resolve_airway(&self, name: String) -> Result<JsValue, JsValue>
pub fn resolve_airport(&self, code: String) -> Result<JsValue, JsValue>
Trait Implementations§
Source§impl From<FaaArcgisResolver> for JsValue
impl From<FaaArcgisResolver> for JsValue
Source§fn from(value: FaaArcgisResolver) -> Self
fn from(value: FaaArcgisResolver) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for FaaArcgisResolver
impl FromWasmAbi for FaaArcgisResolver
Source§impl IntoWasmAbi for FaaArcgisResolver
impl IntoWasmAbi for FaaArcgisResolver
Source§impl RefFromWasmAbi for FaaArcgisResolver
impl RefFromWasmAbi for FaaArcgisResolver
Source§type Anchor = RcRef<FaaArcgisResolver>
type Anchor = RcRef<FaaArcgisResolver>
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 TryFromJsValue for FaaArcgisResolver
impl TryFromJsValue for FaaArcgisResolver
Source§impl VectorFromWasmAbi for FaaArcgisResolver
impl VectorFromWasmAbi for FaaArcgisResolver
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[FaaArcgisResolver]>
Source§impl VectorIntoWasmAbi for FaaArcgisResolver
impl VectorIntoWasmAbi for FaaArcgisResolver
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[FaaArcgisResolver]>) -> Self::Abi
Source§impl WasmDescribeVector for FaaArcgisResolver
impl WasmDescribeVector for FaaArcgisResolver
impl SupportsConstructor for FaaArcgisResolver
impl SupportsInstanceProperty for FaaArcgisResolver
impl SupportsStaticProperty for FaaArcgisResolver
Auto Trait Implementations§
impl Freeze for FaaArcgisResolver
impl RefUnwindSafe for FaaArcgisResolver
impl Send for FaaArcgisResolver
impl Sync for FaaArcgisResolver
impl Unpin for FaaArcgisResolver
impl UnsafeUnpin for FaaArcgisResolver
impl UnwindSafe for FaaArcgisResolver
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> CoordinateMetadata for Twhere
T: ?Sized,
impl<T> CoordinateMetadata for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§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.