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 · 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 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
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 PartialEq for GetLoginItemSettings
impl PartialEq for GetLoginItemSettings
Source§impl RefFromWasmAbi for GetLoginItemSettings
impl RefFromWasmAbi for GetLoginItemSettings
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 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 VectorIntoJsValue for GetLoginItemSettings
impl VectorIntoJsValue for GetLoginItemSettings
fn vector_into_jsvalue(vector: Box<[GetLoginItemSettings]>) -> JsValue
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
impl Copy for GetLoginItemSettings
impl Eq for GetLoginItemSettings
impl StructuralPartialEq for GetLoginItemSettings
impl SupportsConstructor for GetLoginItemSettings
impl SupportsInstanceProperty for GetLoginItemSettings
impl SupportsStaticProperty 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 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.