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