pub struct AppDetailsOptions { /* private fields */ }
Implementations§
Source§impl AppDetailsOptions
impl AppDetailsOptions
pub fn new_with_values( app_icon_index: Option<JsString>, app_icon_path: Option<JsString>, app_id: Option<JsString>, relaunch_command: Option<JsString>, relaunch_display_name: Option<JsString>, ) -> AppDetailsOptions
pub fn new() -> AppDetailsOptions
pub fn app_icon_index(&self) -> Option<JsString>
pub fn set_app_icon_index(&mut self, value: Option<JsString>)
pub fn app_icon_path(&self) -> Option<JsString>
pub fn set_app_icon_path(&mut self, value: Option<JsString>)
pub fn app_id(&self) -> Option<JsString>
pub fn set_app_id(&mut self, value: Option<JsString>)
pub fn relaunch_command(&self) -> Option<JsString>
pub fn set_relaunch_command(&mut self, value: Option<JsString>)
pub fn relaunch_display_name(&self) -> Option<JsString>
pub fn set_relaunch_display_name(&mut self, value: Option<JsString>)
Trait Implementations§
Source§impl Clone for AppDetailsOptions
impl Clone for AppDetailsOptions
Source§fn clone(&self) -> AppDetailsOptions
fn clone(&self) -> AppDetailsOptions
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 AppDetailsOptions
impl Debug for AppDetailsOptions
Source§impl Default for AppDetailsOptions
impl Default for AppDetailsOptions
Source§fn default() -> AppDetailsOptions
fn default() -> AppDetailsOptions
Returns the “default value” for a type. Read more
Source§impl From<AppDetailsOptions> for JsValue
impl From<AppDetailsOptions> for JsValue
Source§fn from(value: AppDetailsOptions) -> Self
fn from(value: AppDetailsOptions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for AppDetailsOptions
impl FromWasmAbi for AppDetailsOptions
Source§impl IntoWasmAbi for AppDetailsOptions
impl IntoWasmAbi for AppDetailsOptions
Source§impl PartialEq for AppDetailsOptions
impl PartialEq for AppDetailsOptions
Source§impl RefFromWasmAbi for AppDetailsOptions
impl RefFromWasmAbi for AppDetailsOptions
Source§type Anchor = RcRef<AppDetailsOptions>
type Anchor = RcRef<AppDetailsOptions>
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 TryFromJsValue for AppDetailsOptions
impl TryFromJsValue for AppDetailsOptions
Source§impl VectorFromWasmAbi for AppDetailsOptions
impl VectorFromWasmAbi for AppDetailsOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[AppDetailsOptions]>
Source§impl VectorIntoJsValue for AppDetailsOptions
impl VectorIntoJsValue for AppDetailsOptions
fn vector_into_jsvalue(vector: Box<[AppDetailsOptions]>) -> JsValue
Source§impl VectorIntoWasmAbi for AppDetailsOptions
impl VectorIntoWasmAbi for AppDetailsOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[AppDetailsOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for AppDetailsOptions
impl WasmDescribeVector for AppDetailsOptions
impl StructuralPartialEq for AppDetailsOptions
impl SupportsConstructor for AppDetailsOptions
impl SupportsInstanceProperty for AppDetailsOptions
impl SupportsStaticProperty for AppDetailsOptions
Auto Trait Implementations§
impl Freeze for AppDetailsOptions
impl RefUnwindSafe for AppDetailsOptions
impl !Send for AppDetailsOptions
impl !Sync for AppDetailsOptions
impl Unpin for AppDetailsOptions
impl UnwindSafe for AppDetailsOptions
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
.