pub struct FunctionDropDownElement { /* private fields */ }
Implementations§
Source§impl FunctionDropDownElement
impl FunctionDropDownElement
pub fn reautocomplete(&self)
pub fn autocomplete( &self, input: String, target: HtmlElement, callback: Callback<CompletionItemSuggestion>, ) -> ApiResult<()>
pub fn item_select(&self)
pub fn item_down(&self)
pub fn item_up(&self)
pub fn hide(&self) -> ApiResult<()>
pub fn connected_callback(&self)
Trait Implementations§
Source§impl Clone for FunctionDropDownElement
impl Clone for FunctionDropDownElement
Source§fn clone(&self) -> FunctionDropDownElement
fn clone(&self) -> FunctionDropDownElement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for FunctionDropDownElement
impl Default for FunctionDropDownElement
Source§impl From<FunctionDropDownElement> for JsValue
impl From<FunctionDropDownElement> for JsValue
Source§fn from(value: FunctionDropDownElement) -> Self
fn from(value: FunctionDropDownElement) -> Self
Converts to this type from the input type.
Source§impl ImplicitClone for FunctionDropDownElement
impl ImplicitClone for FunctionDropDownElement
Source§fn implicit_clone(&self) -> Self
fn implicit_clone(&self) -> Self
This function is not magic; it is literally defined as Read more
Source§impl PartialEq for FunctionDropDownElement
impl PartialEq for FunctionDropDownElement
Source§impl RefFromWasmAbi for FunctionDropDownElement
impl RefFromWasmAbi for FunctionDropDownElement
Source§type Anchor = RcRef<FunctionDropDownElement>
type Anchor = RcRef<FunctionDropDownElement>
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 VectorFromWasmAbi for FunctionDropDownElement
impl VectorFromWasmAbi for FunctionDropDownElement
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[FunctionDropDownElement]>
Source§impl VectorIntoJsValue for FunctionDropDownElement
impl VectorIntoJsValue for FunctionDropDownElement
fn vector_into_jsvalue(vector: Box<[FunctionDropDownElement]>) -> JsValue
Source§impl VectorIntoWasmAbi for FunctionDropDownElement
impl VectorIntoWasmAbi for FunctionDropDownElement
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[FunctionDropDownElement]>) -> Self::Abi
Source§impl WasmDescribeVector for FunctionDropDownElement
impl WasmDescribeVector for FunctionDropDownElement
impl SupportsConstructor for FunctionDropDownElement
impl SupportsInstanceProperty for FunctionDropDownElement
impl SupportsStaticProperty for FunctionDropDownElement
Auto Trait Implementations§
impl Freeze for FunctionDropDownElement
impl !RefUnwindSafe for FunctionDropDownElement
impl !Send for FunctionDropDownElement
impl !Sync for FunctionDropDownElement
impl Unpin for FunctionDropDownElement
impl !UnwindSafe for FunctionDropDownElement
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.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::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
.