pub struct JumpListCategory { /* private fields */ }Implementations§
Source§impl JumpListCategory
impl JumpListCategory
pub fn new( items: Option<Box<[JsValue]>>, kind: Option<JsString>, name: Option<JsString>, ) -> JumpListCategory
pub fn items(&self) -> Option<Box<[JsValue]>>
pub fn set_items(&mut self, value: Option<Box<[JsValue]>>)
pub fn kind(&self) -> Option<JsString>
pub fn set_kind(&mut self, value: Option<JsString>)
pub fn name(&self) -> Option<JsString>
pub fn set_name(&mut self, value: Option<JsString>)
Trait Implementations§
Source§impl From<JumpListCategory> for JsValue
impl From<JumpListCategory> for JsValue
Source§fn from(value: JumpListCategory) -> Self
fn from(value: JumpListCategory) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for JumpListCategory
impl FromWasmAbi for JumpListCategory
Source§impl IntoWasmAbi for JumpListCategory
impl IntoWasmAbi for JumpListCategory
Source§impl OptionFromWasmAbi for JumpListCategory
impl OptionFromWasmAbi for JumpListCategory
Source§impl OptionIntoWasmAbi for JumpListCategory
impl OptionIntoWasmAbi for JumpListCategory
Source§impl RefFromWasmAbi for JumpListCategory
impl RefFromWasmAbi for JumpListCategory
Source§type Anchor = RcRef<JumpListCategory>
type Anchor = RcRef<JumpListCategory>
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 JumpListCategory
impl RefMutFromWasmAbi for JumpListCategory
Source§impl TryFromJsValue for JumpListCategory
impl TryFromJsValue for JumpListCategory
Source§impl VectorFromWasmAbi for JumpListCategory
impl VectorFromWasmAbi for JumpListCategory
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[JumpListCategory]>
Source§impl VectorIntoJsValue for JumpListCategory
impl VectorIntoJsValue for JumpListCategory
fn vector_into_jsvalue(vector: Box<[JumpListCategory]>) -> JsValue
Source§impl VectorIntoWasmAbi for JumpListCategory
impl VectorIntoWasmAbi for JumpListCategory
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[JumpListCategory]>) -> Self::Abi
Source§impl WasmDescribeVector for JumpListCategory
impl WasmDescribeVector for JumpListCategory
impl SupportsConstructor for JumpListCategory
impl SupportsInstanceProperty for JumpListCategory
impl SupportsStaticProperty for JumpListCategory
Auto Trait Implementations§
impl Freeze for JumpListCategory
impl RefUnwindSafe for JumpListCategory
impl !Send for JumpListCategory
impl !Sync for JumpListCategory
impl Unpin for JumpListCategory
impl UnwindSafe for JumpListCategory
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> 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.