pub struct ShortcutDetails { /* private fields */ }Implementations§
Source§impl ShortcutDetails
impl ShortcutDetails
pub fn new( app_user_model_id: Option<JsString>, args: Option<JsString>, cwd: Option<JsString>, description: Option<JsString>, icon: Option<JsString>, icon_index: Option<usize>, target: JsString, ) -> ShortcutDetails
pub fn app_user_model_id(&self) -> Option<JsString>
pub fn set_app_user_model_id(&mut self, value: Option<JsString>)
pub fn args(&self) -> Option<JsString>
pub fn set_args(&mut self, value: Option<JsString>)
pub fn cwd(&self) -> Option<JsString>
pub fn set_cwd(&mut self, value: Option<JsString>)
pub fn description(&self) -> Option<JsString>
pub fn set_description(&mut self, value: Option<JsString>)
pub fn icon(&self) -> Option<JsString>
pub fn set_icon(&mut self, value: Option<JsString>)
pub fn icon_index(&self) -> Option<usize>
pub fn set_icon_index(&mut self, value: Option<usize>)
pub fn target(&self) -> JsString
pub fn set_target(&mut self, value: JsString)
Trait Implementations§
Source§impl Clone for ShortcutDetails
impl Clone for ShortcutDetails
Source§fn clone(&self) -> ShortcutDetails
fn clone(&self) -> ShortcutDetails
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 ShortcutDetails
impl Debug for ShortcutDetails
Source§impl From<ShortcutDetails> for JsValue
impl From<ShortcutDetails> for JsValue
Source§fn from(value: ShortcutDetails) -> Self
fn from(value: ShortcutDetails) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for ShortcutDetails
impl FromWasmAbi for ShortcutDetails
Source§impl IntoWasmAbi for ShortcutDetails
impl IntoWasmAbi for ShortcutDetails
Source§impl LongRefFromWasmAbi for ShortcutDetails
impl LongRefFromWasmAbi for ShortcutDetails
Source§impl OptionFromWasmAbi for ShortcutDetails
impl OptionFromWasmAbi for ShortcutDetails
Source§impl OptionIntoWasmAbi for ShortcutDetails
impl OptionIntoWasmAbi for ShortcutDetails
Source§impl PartialEq for ShortcutDetails
impl PartialEq for ShortcutDetails
Source§impl RefFromWasmAbi for ShortcutDetails
impl RefFromWasmAbi for ShortcutDetails
Source§type Anchor = RcRef<ShortcutDetails>
type Anchor = RcRef<ShortcutDetails>
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 ShortcutDetails
impl RefMutFromWasmAbi for ShortcutDetails
Source§impl TryFromJsValue for ShortcutDetails
impl TryFromJsValue for ShortcutDetails
Source§impl VectorFromWasmAbi for ShortcutDetails
impl VectorFromWasmAbi for ShortcutDetails
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[ShortcutDetails]>
Source§impl VectorIntoJsValue for ShortcutDetails
impl VectorIntoJsValue for ShortcutDetails
fn vector_into_jsvalue(vector: Box<[ShortcutDetails]>) -> JsValue
Source§impl VectorIntoWasmAbi for ShortcutDetails
impl VectorIntoWasmAbi for ShortcutDetails
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[ShortcutDetails]>) -> Self::Abi
Source§impl WasmDescribeVector for ShortcutDetails
impl WasmDescribeVector for ShortcutDetails
impl StructuralPartialEq for ShortcutDetails
impl SupportsConstructor for ShortcutDetails
impl SupportsInstanceProperty for ShortcutDetails
impl SupportsStaticProperty for ShortcutDetails
Auto Trait Implementations§
impl Freeze for ShortcutDetails
impl RefUnwindSafe for ShortcutDetails
impl !Send for ShortcutDetails
impl !Sync for ShortcutDetails
impl Unpin for ShortcutDetails
impl UnwindSafe for ShortcutDetails
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.