pub struct FilterDropDownElement { /* private fields */ }Implementations§
source§impl FilterDropDownElement
impl FilterDropDownElement
pub fn new(session: Session) -> Self
pub fn reautocomplete(&self)
pub fn autocomplete( &self, column: (usize, String), input: String, exclude: HashSet<String>, target: HtmlElement, callback: Callback<String>, )
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 FilterDropDownElement
impl Clone for FilterDropDownElement
source§fn clone(&self) -> FilterDropDownElement
fn clone(&self) -> FilterDropDownElement
Returns a copy 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 From<FilterDropDownElement> for JsValue
impl From<FilterDropDownElement> for JsValue
source§fn from(value: FilterDropDownElement) -> Self
fn from(value: FilterDropDownElement) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for FilterDropDownElement
impl FromWasmAbi for FilterDropDownElement
source§impl ImplicitClone for FilterDropDownElement
impl ImplicitClone for FilterDropDownElement
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 IntoWasmAbi for FilterDropDownElement
impl IntoWasmAbi for FilterDropDownElement
source§impl PartialEq for FilterDropDownElement
impl PartialEq for FilterDropDownElement
source§impl RefFromWasmAbi for FilterDropDownElement
impl RefFromWasmAbi for FilterDropDownElement
§type Anchor = Ref<'static, FilterDropDownElement>
type Anchor = Ref<'static, FilterDropDownElement>
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 FilterDropDownElement
impl VectorFromWasmAbi for FilterDropDownElement
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[FilterDropDownElement]>
source§impl VectorIntoWasmAbi for FilterDropDownElement
impl VectorIntoWasmAbi for FilterDropDownElement
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[FilterDropDownElement]>) -> Self::Abi
source§impl WasmDescribeVector for FilterDropDownElement
impl WasmDescribeVector for FilterDropDownElement
Auto Trait Implementations§
impl Freeze for FilterDropDownElement
impl !RefUnwindSafe for FilterDropDownElement
impl !Send for FilterDropDownElement
impl !Sync for FilterDropDownElement
impl Unpin for FilterDropDownElement
impl !UnwindSafe for FilterDropDownElement
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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,
§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.source§impl<T> Tee for Twhere
T: Clone,
impl<T> Tee for Twhere
T: Clone,
source§fn tee<const N: usize>(self) -> <T as TeeInternal<N>>::Outputwhere
T: TeeInternal<N>,
fn tee<const N: usize>(self) -> <T as TeeInternal<N>>::Outputwhere
T: TeeInternal<N>,
Extension method to add
tee() method to all T: Clone. This can’t be
done directly as part of TeeInternal because it makes specifying the
const param at the tee() invocation site cumbersome:
TeeInternal::<N>::tee(&obj) as opposed to obj.tee::<N>(). The
constraint Self: TeeInternal<N> collapses the potential impl matches
to exactly 1, which makes the call to tee_internal() unambiguous.
This constraint is also allowed to contain the generic parameter N
because it is specified as a constraint to the method (as opposed to
a constraint on the trait). I’m honestly quite surprised this works … Read more