pub struct PopupOptions { /* private fields */ }
Implementations§
Source§impl PopupOptions
impl PopupOptions
pub fn new( callback: Option<Function>, positioning_item: Option<usize>, window: Option<BrowserWindow>, x: Option<usize>, y: Option<usize>, ) -> PopupOptions
pub fn callback(&self) -> Option<Function>
pub fn set_callback(&mut self, value: Option<Function>)
pub fn positioning_item(&self) -> Option<usize>
pub fn set_positioning_item(&mut self, value: Option<usize>)
pub fn window(&self) -> Option<BrowserWindow>
pub fn set_window(&mut self, value: Option<BrowserWindow>)
pub fn x(&self) -> Option<usize>
pub fn set_x(&mut self, value: Option<usize>)
pub fn y(&self) -> Option<usize>
pub fn set_y(&mut self, value: Option<usize>)
Trait Implementations§
Source§impl Clone for PopupOptions
impl Clone for PopupOptions
Source§fn clone(&self) -> PopupOptions
fn clone(&self) -> PopupOptions
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 Debug for PopupOptions
impl Debug for PopupOptions
Source§impl From<PopupOptions> for JsValue
impl From<PopupOptions> for JsValue
Source§fn from(value: PopupOptions) -> Self
fn from(value: PopupOptions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for PopupOptions
impl FromWasmAbi for PopupOptions
Source§impl IntoWasmAbi for PopupOptions
impl IntoWasmAbi for PopupOptions
Source§impl LongRefFromWasmAbi for PopupOptions
impl LongRefFromWasmAbi for PopupOptions
Source§impl OptionFromWasmAbi for PopupOptions
impl OptionFromWasmAbi for PopupOptions
Source§impl OptionIntoWasmAbi for PopupOptions
impl OptionIntoWasmAbi for PopupOptions
Source§impl RefFromWasmAbi for PopupOptions
impl RefFromWasmAbi for PopupOptions
Source§type Anchor = RcRef<PopupOptions>
type Anchor = RcRef<PopupOptions>
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 RefMutFromWasmAbi for PopupOptions
impl RefMutFromWasmAbi for PopupOptions
Source§impl TryFromJsValue for PopupOptions
impl TryFromJsValue for PopupOptions
Source§impl VectorFromWasmAbi for PopupOptions
impl VectorFromWasmAbi for PopupOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[PopupOptions]>
Source§impl VectorIntoJsValue for PopupOptions
impl VectorIntoJsValue for PopupOptions
fn vector_into_jsvalue(vector: Box<[PopupOptions]>) -> JsValue
Source§impl VectorIntoWasmAbi for PopupOptions
impl VectorIntoWasmAbi for PopupOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[PopupOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for PopupOptions
impl WasmDescribeVector for PopupOptions
impl SupportsConstructor for PopupOptions
impl SupportsInstanceProperty for PopupOptions
impl SupportsStaticProperty for PopupOptions
Auto Trait Implementations§
impl Freeze for PopupOptions
impl RefUnwindSafe for PopupOptions
impl !Send for PopupOptions
impl !Sync for PopupOptions
impl Unpin for PopupOptions
impl UnwindSafe for PopupOptions
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> 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
.