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 · 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 PartialEq for SetAboutPanelOptions
impl PartialEq for SetAboutPanelOptions
Source§impl RefFromWasmAbi for SetAboutPanelOptions
impl RefFromWasmAbi for SetAboutPanelOptions
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 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 VectorIntoJsValue for SetAboutPanelOptions
impl VectorIntoJsValue for SetAboutPanelOptions
fn vector_into_jsvalue(vector: Box<[SetAboutPanelOptions]>) -> JsValue
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
impl StructuralPartialEq for SetAboutPanelOptions
impl SupportsConstructor for SetAboutPanelOptions
impl SupportsInstanceProperty for SetAboutPanelOptions
impl SupportsStaticProperty 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 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::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
.