pub struct ExportDropDownMenuElement { /* private fields */ }
Implementations§
Source§impl ExportDropDownMenuElement
impl ExportDropDownMenuElement
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 ExportDropDownMenuElement
impl ExportDropDownMenuElement
pub fn new_from_model<A: GetViewerConfigModel>(model: &A) -> Self
Trait Implementations§
Source§impl Clone for ExportDropDownMenuElement
impl Clone for ExportDropDownMenuElement
Source§fn clone(&self) -> ExportDropDownMenuElement
fn clone(&self) -> ExportDropDownMenuElement
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 From<ExportDropDownMenuElement> for JsValue
impl From<ExportDropDownMenuElement> for JsValue
Source§fn from(value: ExportDropDownMenuElement) -> Self
fn from(value: ExportDropDownMenuElement) -> Self
Converts to this type from the input type.
Source§impl RefFromWasmAbi for ExportDropDownMenuElement
impl RefFromWasmAbi for ExportDropDownMenuElement
Source§type Anchor = RcRef<ExportDropDownMenuElement>
type Anchor = RcRef<ExportDropDownMenuElement>
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 ExportDropDownMenuElement
impl VectorFromWasmAbi for ExportDropDownMenuElement
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[ExportDropDownMenuElement]>
Source§impl VectorIntoJsValue for ExportDropDownMenuElement
impl VectorIntoJsValue for ExportDropDownMenuElement
fn vector_into_jsvalue(vector: Box<[ExportDropDownMenuElement]>) -> JsValue
Source§impl VectorIntoWasmAbi for ExportDropDownMenuElement
impl VectorIntoWasmAbi for ExportDropDownMenuElement
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[ExportDropDownMenuElement]>) -> Self::Abi
Source§impl WasmDescribeVector for ExportDropDownMenuElement
impl WasmDescribeVector for ExportDropDownMenuElement
impl SupportsConstructor for ExportDropDownMenuElement
impl SupportsInstanceProperty for ExportDropDownMenuElement
impl SupportsStaticProperty for ExportDropDownMenuElement
Auto Trait Implementations§
impl Freeze for ExportDropDownMenuElement
impl !RefUnwindSafe for ExportDropDownMenuElement
impl !Send for ExportDropDownMenuElement
impl !Sync for ExportDropDownMenuElement
impl Unpin for ExportDropDownMenuElement
impl !UnwindSafe for ExportDropDownMenuElement
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
.