pub struct GetLoginItemSettings { /* private fields */ }Implementations§
Source§impl GetLoginItemSettings
impl GetLoginItemSettings
pub fn new( open_at_login: bool, open_as_hidden: bool, was_opened_at_login: bool, was_opened_as_hidden: bool, restore_state: bool, ) -> GetLoginItemSettings
pub fn open_at_login(self) -> bool
pub fn set_open_at_login(self, value: bool)
pub fn was_opened_at_login(self) -> bool
pub fn set_was_opened_at_login(self, value: bool)
pub fn restore_state(self) -> bool
pub fn set_restore_state(self, value: bool)
Trait Implementations§
Source§impl Clone for GetLoginItemSettings
impl Clone for GetLoginItemSettings
Source§fn clone(&self) -> GetLoginItemSettings
fn clone(&self) -> GetLoginItemSettings
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 moreimpl Copy for GetLoginItemSettings
Source§impl Debug for GetLoginItemSettings
impl Debug for GetLoginItemSettings
Source§impl Default for GetLoginItemSettings
impl Default for GetLoginItemSettings
Source§fn default() -> GetLoginItemSettings
fn default() -> GetLoginItemSettings
Returns the “default value” for a type. Read more
impl Eq for GetLoginItemSettings
Source§impl From<GetLoginItemSettings> for JsValue
impl From<GetLoginItemSettings> for JsValue
Source§fn from(value: GetLoginItemSettings) -> Self
fn from(value: GetLoginItemSettings) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for GetLoginItemSettings
impl FromWasmAbi for GetLoginItemSettings
Source§impl IntoWasmAbi for GetLoginItemSettings
impl IntoWasmAbi for GetLoginItemSettings
Source§impl LongRefFromWasmAbi for GetLoginItemSettings
impl LongRefFromWasmAbi for GetLoginItemSettings
Source§type Abi = WasmPtr<WasmRefCell<GetLoginItemSettings>>
type Abi = WasmPtr<WasmRefCell<GetLoginItemSettings>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRef<GetLoginItemSettings>
type Anchor = RcRef<GetLoginItemSettings>
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 PartialEq for GetLoginItemSettings
impl PartialEq for GetLoginItemSettings
Source§fn eq(&self, other: &GetLoginItemSettings) -> bool
fn eq(&self, other: &GetLoginItemSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefFromWasmAbi for GetLoginItemSettings
impl RefFromWasmAbi for GetLoginItemSettings
Source§type Abi = WasmPtr<WasmRefCell<GetLoginItemSettings>>
type Abi = WasmPtr<WasmRefCell<GetLoginItemSettings>>
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = RcRef<GetLoginItemSettings>
type Anchor = RcRef<GetLoginItemSettings>
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 GetLoginItemSettings
impl RefMutFromWasmAbi for GetLoginItemSettings
Source§type Abi = WasmPtr<WasmRefCell<GetLoginItemSettings>>
type Abi = WasmPtr<WasmRefCell<GetLoginItemSettings>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRefMut<GetLoginItemSettings>
type Anchor = RcRefMut<GetLoginItemSettings>
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 GetLoginItemSettings
impl SupportsConstructor for GetLoginItemSettings
impl SupportsInstanceProperty for GetLoginItemSettings
impl SupportsStaticProperty for GetLoginItemSettings
Source§impl VectorFromWasmAbi for GetLoginItemSettings
impl VectorFromWasmAbi for GetLoginItemSettings
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[GetLoginItemSettings]>
Source§impl VectorIntoWasmAbi for GetLoginItemSettings
impl VectorIntoWasmAbi for GetLoginItemSettings
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[GetLoginItemSettings]>) -> Self::Abi
Source§impl WasmDescribeVector for GetLoginItemSettings
impl WasmDescribeVector for GetLoginItemSettings
Auto Trait Implementations§
impl Freeze for GetLoginItemSettings
impl RefUnwindSafe for GetLoginItemSettings
impl Send for GetLoginItemSettings
impl Sync for GetLoginItemSettings
impl Unpin for GetLoginItemSettings
impl UnsafeUnpin for GetLoginItemSettings
impl UnwindSafe for GetLoginItemSettings
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.