pub struct CopyDropDownMenuElement { /* private fields */ }Implementations§
Source§impl CopyDropDownMenuElement
impl CopyDropDownMenuElement
pub fn new(elem: HtmlElement) -> Self
pub fn open(&self, target: HtmlElement)
pub fn hide(&self) -> ApiResult<()>
Sourcepub fn set_model(&self, parent: &PerspectiveViewerElement)
pub fn set_model(&self, parent: &PerspectiveViewerElement)
Internal Only.
Set this custom element model’s raw pointer.
pub fn connected_callback(&self)
Source§impl CopyDropDownMenuElement
impl CopyDropDownMenuElement
pub fn new_from_model<A: GetViewerConfigModel>(model: &A) -> Self
pub fn set_config_model<A: GetViewerConfigModel>(&self, model: &A)
Trait Implementations§
Source§impl Clone for CopyDropDownMenuElement
impl Clone for CopyDropDownMenuElement
Source§fn clone(&self) -> CopyDropDownMenuElement
fn clone(&self) -> CopyDropDownMenuElement
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<CopyDropDownMenuElement> for JsValue
impl From<CopyDropDownMenuElement> for JsValue
Source§fn from(value: CopyDropDownMenuElement) -> Self
fn from(value: CopyDropDownMenuElement) -> Self
Converts to this type from the input type.
Source§impl RefFromWasmAbi for CopyDropDownMenuElement
impl RefFromWasmAbi for CopyDropDownMenuElement
Source§type Anchor = RcRef<CopyDropDownMenuElement>
type Anchor = RcRef<CopyDropDownMenuElement>
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 CopyDropDownMenuElement
impl VectorFromWasmAbi for CopyDropDownMenuElement
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[CopyDropDownMenuElement]>
Source§impl VectorIntoJsValue for CopyDropDownMenuElement
impl VectorIntoJsValue for CopyDropDownMenuElement
fn vector_into_jsvalue(vector: Box<[CopyDropDownMenuElement]>) -> JsValue
Source§impl VectorIntoWasmAbi for CopyDropDownMenuElement
impl VectorIntoWasmAbi for CopyDropDownMenuElement
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[CopyDropDownMenuElement]>) -> Self::Abi
Source§impl WasmDescribeVector for CopyDropDownMenuElement
impl WasmDescribeVector for CopyDropDownMenuElement
impl SupportsConstructor for CopyDropDownMenuElement
impl SupportsInstanceProperty for CopyDropDownMenuElement
impl SupportsStaticProperty for CopyDropDownMenuElement
Auto Trait Implementations§
impl Freeze for CopyDropDownMenuElement
impl !RefUnwindSafe for CopyDropDownMenuElement
impl !Send for CopyDropDownMenuElement
impl !Sync for CopyDropDownMenuElement
impl Unpin for CopyDropDownMenuElement
impl !UnwindSafe for CopyDropDownMenuElement
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬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,
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.