pub struct SetAboutPanelOptions { /* private fields */ }Implementations§
Source§impl SetAboutPanelOptions
impl SetAboutPanelOptions
pub fn new( application_name: Option<JsString>, application_version: Option<JsString>, copyright: Option<JsString>, version: Option<JsString>, credits: Option<JsString>, authors: JsString, website: Option<JsString>, icon_path: Option<JsString>, ) -> SetAboutPanelOptions
pub fn application_name(&self) -> Option<JsString>
pub fn set_application_name(&mut self, value: Option<JsString>)
pub fn application_version(&self) -> Option<JsString>
pub fn set_application_version(&mut self, value: Option<JsString>)
pub fn copyright(&self) -> Option<JsString>
pub fn set_copyright(&mut self, value: Option<JsString>)
pub fn version(&self) -> Option<JsString>
pub fn set_version(&mut self, value: Option<JsString>)
pub fn credits(&self) -> Option<JsString>
pub fn set_credits(&mut self, value: Option<JsString>)
pub fn website(&self) -> Option<JsString>
pub fn set_website(&mut self, value: Option<JsString>)
pub fn icon_path(&self) -> Option<JsString>
pub fn set_icon_path(&mut self, value: Option<JsString>)
Trait Implementations§
Source§impl Clone for SetAboutPanelOptions
impl Clone for SetAboutPanelOptions
Source§fn clone(&self) -> SetAboutPanelOptions
fn clone(&self) -> SetAboutPanelOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SetAboutPanelOptions
impl Debug for SetAboutPanelOptions
Source§impl From<SetAboutPanelOptions> for JsValue
impl From<SetAboutPanelOptions> for JsValue
Source§fn from(value: SetAboutPanelOptions) -> Self
fn from(value: SetAboutPanelOptions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for SetAboutPanelOptions
impl FromWasmAbi for SetAboutPanelOptions
Source§impl IntoWasmAbi for SetAboutPanelOptions
impl IntoWasmAbi for SetAboutPanelOptions
Source§impl LongRefFromWasmAbi for SetAboutPanelOptions
impl LongRefFromWasmAbi for SetAboutPanelOptions
Source§type Abi = WasmPtr<WasmRefCell<SetAboutPanelOptions>>
type Abi = WasmPtr<WasmRefCell<SetAboutPanelOptions>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRef<SetAboutPanelOptions>
type Anchor = RcRef<SetAboutPanelOptions>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiSource§impl PartialEq for SetAboutPanelOptions
impl PartialEq for SetAboutPanelOptions
Source§fn eq(&self, other: &SetAboutPanelOptions) -> bool
fn eq(&self, other: &SetAboutPanelOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefFromWasmAbi for SetAboutPanelOptions
impl RefFromWasmAbi for SetAboutPanelOptions
Source§type Abi = WasmPtr<WasmRefCell<SetAboutPanelOptions>>
type Abi = WasmPtr<WasmRefCell<SetAboutPanelOptions>>
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = RcRef<SetAboutPanelOptions>
type Anchor = RcRef<SetAboutPanelOptions>
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 SetAboutPanelOptions
impl RefMutFromWasmAbi for SetAboutPanelOptions
Source§type Abi = WasmPtr<WasmRefCell<SetAboutPanelOptions>>
type Abi = WasmPtr<WasmRefCell<SetAboutPanelOptions>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRefMut<SetAboutPanelOptions>
type Anchor = RcRefMut<SetAboutPanelOptions>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiimpl StructuralPartialEq for SetAboutPanelOptions
impl SupportsConstructor for SetAboutPanelOptions
impl SupportsInstanceProperty for SetAboutPanelOptions
impl SupportsStaticProperty for SetAboutPanelOptions
Source§impl VectorFromWasmAbi for SetAboutPanelOptions
impl VectorFromWasmAbi for SetAboutPanelOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[SetAboutPanelOptions]>
Source§impl VectorIntoWasmAbi for SetAboutPanelOptions
impl VectorIntoWasmAbi for SetAboutPanelOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[SetAboutPanelOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for SetAboutPanelOptions
impl WasmDescribeVector for SetAboutPanelOptions
Auto Trait Implementations§
impl Freeze for SetAboutPanelOptions
impl RefUnwindSafe for SetAboutPanelOptions
impl Send for SetAboutPanelOptions
impl Sync for SetAboutPanelOptions
impl Unpin for SetAboutPanelOptions
impl UnsafeUnpin for SetAboutPanelOptions
impl UnwindSafe for SetAboutPanelOptions
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::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.