pub struct JumpListSettings { /* private fields */ }Implementations§
Source§impl JumpListSettings
impl JumpListSettings
pub fn new(min_items: usize, removed_items: Box<[JsValue]>) -> JumpListSettings
pub fn min_items(&self) -> usize
pub fn set_min_items(&mut self, value: usize)
pub fn removed_items(&self) -> Box<[JsValue]>
pub fn set_removed_items(&mut self, value: Box<[JsValue]>)
Trait Implementations§
Source§impl Clone for JumpListSettings
impl Clone for JumpListSettings
Source§fn clone(&self) -> JumpListSettings
fn clone(&self) -> JumpListSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JumpListSettings
impl Debug for JumpListSettings
Source§impl From<JumpListSettings> for JsValue
impl From<JumpListSettings> for JsValue
Source§fn from(value: JumpListSettings) -> Self
fn from(value: JumpListSettings) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for JumpListSettings
impl FromWasmAbi for JumpListSettings
Source§impl IntoWasmAbi for JumpListSettings
impl IntoWasmAbi for JumpListSettings
Source§impl LongRefFromWasmAbi for JumpListSettings
impl LongRefFromWasmAbi for JumpListSettings
Source§type Abi = WasmPtr<WasmRefCell<JumpListSettings>>
type Abi = WasmPtr<WasmRefCell<JumpListSettings>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRef<JumpListSettings>
type Anchor = RcRef<JumpListSettings>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiSource§impl OptionFromWasmAbi for JumpListSettings
impl OptionFromWasmAbi for JumpListSettings
Source§impl OptionIntoWasmAbi for JumpListSettings
impl OptionIntoWasmAbi for JumpListSettings
Source§impl PartialEq for JumpListSettings
impl PartialEq for JumpListSettings
Source§fn eq(&self, other: &JumpListSettings) -> bool
fn eq(&self, other: &JumpListSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefFromWasmAbi for JumpListSettings
impl RefFromWasmAbi for JumpListSettings
Source§type Abi = WasmPtr<WasmRefCell<JumpListSettings>>
type Abi = WasmPtr<WasmRefCell<JumpListSettings>>
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = RcRef<JumpListSettings>
type Anchor = RcRef<JumpListSettings>
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 JumpListSettings
impl RefMutFromWasmAbi for JumpListSettings
Source§type Abi = WasmPtr<WasmRefCell<JumpListSettings>>
type Abi = WasmPtr<WasmRefCell<JumpListSettings>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRefMut<JumpListSettings>
type Anchor = RcRefMut<JumpListSettings>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiimpl StructuralPartialEq for JumpListSettings
impl SupportsConstructor for JumpListSettings
impl SupportsInstanceProperty for JumpListSettings
impl SupportsStaticProperty for JumpListSettings
Source§impl TryFromJsValue for JumpListSettings
impl TryFromJsValue for JumpListSettings
Source§impl VectorFromWasmAbi for JumpListSettings
impl VectorFromWasmAbi for JumpListSettings
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[JumpListSettings]>
Source§impl VectorIntoWasmAbi for JumpListSettings
impl VectorIntoWasmAbi for JumpListSettings
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[JumpListSettings]>) -> Self::Abi
Source§impl WasmDescribeVector for JumpListSettings
impl WasmDescribeVector for JumpListSettings
Auto Trait Implementations§
impl Freeze for JumpListSettings
impl RefUnwindSafe for JumpListSettings
impl Send for JumpListSettings
impl Sync for JumpListSettings
impl Unpin for JumpListSettings
impl UnsafeUnpin for JumpListSettings
impl UnwindSafe for JumpListSettings
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.