pub struct DisplayBalloonOptions { /* private fields */ }
Implementations§
Source§impl DisplayBalloonOptions
impl DisplayBalloonOptions
pub fn new( content: JsString, icon_type: Option<JsString>, icon: Option<JsString>, large_icon: Option<JsString>, no_sound: Option<bool>, respect_quiet_time: Option<bool>, title: JsString, ) -> DisplayBalloonOptions
pub fn content(&self) -> JsString
pub fn set_content(&mut self, value: JsString)
pub fn icon_type(&self) -> Option<JsString>
pub fn set_icon_type(&mut self, value: Option<JsString>)
pub fn icon(&self) -> Option<JsString>
pub fn set_icon(&mut self, value: Option<JsString>)
pub fn large_icon(&self) -> Option<JsString>
pub fn set_large_icon(&mut self, value: Option<JsString>)
pub fn no_sound(&self) -> Option<bool>
pub fn set_no_sound(&mut self, value: Option<bool>)
pub fn respect_quiet_time(&self) -> Option<bool>
pub fn set_respect_quiet_time(&mut self, value: Option<bool>)
pub fn title(&self) -> JsString
pub fn set_title(&mut self, value: JsString)
Trait Implementations§
Source§impl Clone for DisplayBalloonOptions
impl Clone for DisplayBalloonOptions
Source§fn clone(&self) -> DisplayBalloonOptions
fn clone(&self) -> DisplayBalloonOptions
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 DisplayBalloonOptions
impl Debug for DisplayBalloonOptions
Source§impl From<DisplayBalloonOptions> for JsValue
impl From<DisplayBalloonOptions> for JsValue
Source§fn from(value: DisplayBalloonOptions) -> Self
fn from(value: DisplayBalloonOptions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for DisplayBalloonOptions
impl FromWasmAbi for DisplayBalloonOptions
Source§impl IntoWasmAbi for DisplayBalloonOptions
impl IntoWasmAbi for DisplayBalloonOptions
Source§impl PartialEq for DisplayBalloonOptions
impl PartialEq for DisplayBalloonOptions
Source§impl RefFromWasmAbi for DisplayBalloonOptions
impl RefFromWasmAbi for DisplayBalloonOptions
Source§type Anchor = RcRef<DisplayBalloonOptions>
type Anchor = RcRef<DisplayBalloonOptions>
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 DisplayBalloonOptions
impl VectorFromWasmAbi for DisplayBalloonOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[DisplayBalloonOptions]>
Source§impl VectorIntoJsValue for DisplayBalloonOptions
impl VectorIntoJsValue for DisplayBalloonOptions
fn vector_into_jsvalue(vector: Box<[DisplayBalloonOptions]>) -> JsValue
Source§impl VectorIntoWasmAbi for DisplayBalloonOptions
impl VectorIntoWasmAbi for DisplayBalloonOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[DisplayBalloonOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for DisplayBalloonOptions
impl WasmDescribeVector for DisplayBalloonOptions
impl Eq for DisplayBalloonOptions
impl StructuralPartialEq for DisplayBalloonOptions
impl SupportsConstructor for DisplayBalloonOptions
impl SupportsInstanceProperty for DisplayBalloonOptions
impl SupportsStaticProperty for DisplayBalloonOptions
Auto Trait Implementations§
impl Freeze for DisplayBalloonOptions
impl RefUnwindSafe for DisplayBalloonOptions
impl !Send for DisplayBalloonOptions
impl !Sync for DisplayBalloonOptions
impl Unpin for DisplayBalloonOptions
impl UnwindSafe for DisplayBalloonOptions
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
.