pub struct JsSearchResult { /* private fields */ }Expand description
JavaScript-compatible SearchResult
Implementations§
Trait Implementations§
Source§impl From<JsSearchResult> for JsValue
impl From<JsSearchResult> for JsValue
Source§fn from(value: JsSearchResult) -> Self
fn from(value: JsSearchResult) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for JsSearchResult
impl FromWasmAbi for JsSearchResult
Source§impl IntoWasmAbi for JsSearchResult
impl IntoWasmAbi for JsSearchResult
Source§impl LongRefFromWasmAbi for JsSearchResult
impl LongRefFromWasmAbi for JsSearchResult
Source§impl OptionFromWasmAbi for JsSearchResult
impl OptionFromWasmAbi for JsSearchResult
Source§impl OptionIntoWasmAbi for JsSearchResult
impl OptionIntoWasmAbi for JsSearchResult
Source§impl RefFromWasmAbi for JsSearchResult
impl RefFromWasmAbi for JsSearchResult
Source§type Anchor = RcRef<JsSearchResult>
type Anchor = RcRef<JsSearchResult>
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 JsSearchResult
impl RefMutFromWasmAbi for JsSearchResult
Source§impl TryFromJsValue for JsSearchResult
impl TryFromJsValue for JsSearchResult
Source§impl VectorFromWasmAbi for JsSearchResult
impl VectorFromWasmAbi for JsSearchResult
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[JsSearchResult]>
Source§impl VectorIntoWasmAbi for JsSearchResult
impl VectorIntoWasmAbi for JsSearchResult
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[JsSearchResult]>) -> Self::Abi
Source§impl WasmDescribeVector for JsSearchResult
impl WasmDescribeVector for JsSearchResult
impl SupportsConstructor for JsSearchResult
impl SupportsInstanceProperty for JsSearchResult
impl SupportsStaticProperty for JsSearchResult
Auto Trait Implementations§
impl Freeze for JsSearchResult
impl RefUnwindSafe for JsSearchResult
impl Send for JsSearchResult
impl Sync for JsSearchResult
impl Unpin for JsSearchResult
impl UnwindSafe for JsSearchResult
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> 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.