pub struct ColumnDropDownElement { /* private fields */ }Implementations§
source§impl ColumnDropDownElement
impl ColumnDropDownElement
pub fn new(session: Session) -> Self
pub fn autocomplete( &self, target: HtmlInputElement, exclude: HashSet<String>, callback: Callback<InPlaceColumn>, ) -> Option<()>
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 ColumnDropDownElement
impl Clone for ColumnDropDownElement
source§fn clone(&self) -> ColumnDropDownElement
fn clone(&self) -> ColumnDropDownElement
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<ColumnDropDownElement> for JsValue
impl From<ColumnDropDownElement> for JsValue
source§fn from(value: ColumnDropDownElement) -> Self
fn from(value: ColumnDropDownElement) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for ColumnDropDownElement
impl FromWasmAbi for ColumnDropDownElement
source§impl ImplicitClone for ColumnDropDownElement
impl ImplicitClone for ColumnDropDownElement
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 ColumnDropDownElement
impl IntoWasmAbi for ColumnDropDownElement
source§impl RefFromWasmAbi for ColumnDropDownElement
impl RefFromWasmAbi for ColumnDropDownElement
§type Anchor = Ref<'static, ColumnDropDownElement>
type Anchor = Ref<'static, ColumnDropDownElement>
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 ColumnDropDownElement
impl VectorFromWasmAbi for ColumnDropDownElement
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[ColumnDropDownElement]>
source§impl VectorIntoWasmAbi for ColumnDropDownElement
impl VectorIntoWasmAbi for ColumnDropDownElement
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[ColumnDropDownElement]>) -> Self::Abi
source§impl WasmDescribeVector for ColumnDropDownElement
impl WasmDescribeVector for ColumnDropDownElement
Auto Trait Implementations§
impl Freeze for ColumnDropDownElement
impl !RefUnwindSafe for ColumnDropDownElement
impl !Send for ColumnDropDownElement
impl !Sync for ColumnDropDownElement
impl Unpin for ColumnDropDownElement
impl !UnwindSafe for ColumnDropDownElement
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