[][src]Struct electron_sys::Task

#[repr(transparent)]
pub struct Task { /* fields omitted */ }

Methods

impl Task[src]

pub fn new(
    arguments: JsString,
    description: JsString,
    icon_index: usize,
    icon_path: JsString,
    program: JsString,
    title: JsString,
    working_directory: Option<JsString>
) -> Task
[src]

impl Task[src]

pub fn arguments(&self) -> JsString[src]

impl Task[src]

pub fn set_arguments(&self, value: JsString)[src]

impl Task[src]

pub fn description(&self) -> JsString[src]

impl Task[src]

pub fn set_description(&self, value: JsString)[src]

impl Task[src]

pub fn icon_index(&self) -> usize[src]

impl Task[src]

pub fn set_icon_index(&self, value: usize)[src]

impl Task[src]

pub fn icon_path(&self) -> JsString[src]

impl Task[src]

pub fn set_icon_path(&self, value: JsString)[src]

impl Task[src]

pub fn program(&self) -> JsString[src]

impl Task[src]

pub fn set_program(&self, value: JsString)[src]

impl Task[src]

pub fn title(&self) -> JsString[src]

impl Task[src]

pub fn set_title(&self, value: JsString)[src]

impl Task[src]

impl Task[src]

Trait Implementations

impl AsRef<JsValue> for Task[src]

impl AsRef<Object> for Task[src]

impl AsRef<Task> for Task[src]

impl Deref for Task[src]

type Target = Object

The resulting type after dereferencing.

impl From<JsValue> for Task[src]

impl From<Task> for JsValue[src]

impl From<Task> for Object[src]

impl FromWasmAbi for Task[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for Task[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a Task[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for Task[src]

impl OptionFromWasmAbi for Task[src]

impl OptionIntoWasmAbi for Task[src]

impl<'a> OptionIntoWasmAbi for &'a Task[src]

impl RefFromWasmAbi for Task[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<Task>

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. Read more

impl WasmDescribe for Task[src]

Auto Trait Implementations

impl RefUnwindSafe for Task

impl !Send for Task

impl !Sync for Task

impl Unpin for Task

impl UnwindSafe for Task

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.