pub struct OpenExternalOptions { /* private fields */ }
Implementations§
Source§impl OpenExternalOptions
impl OpenExternalOptions
pub fn new( activate: Option<bool>, working_directory: JsString, ) -> OpenExternalOptions
pub fn activate(&self) -> Option<bool>
pub fn set_activate(&mut self, value: Option<bool>)
pub fn working_directory(&self) -> JsString
pub fn set_working_directory(&mut self, value: JsString)
Trait Implementations§
Source§impl Clone for OpenExternalOptions
impl Clone for OpenExternalOptions
Source§fn clone(&self) -> OpenExternalOptions
fn clone(&self) -> OpenExternalOptions
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 OpenExternalOptions
impl Debug for OpenExternalOptions
Source§impl From<OpenExternalOptions> for JsValue
impl From<OpenExternalOptions> for JsValue
Source§fn from(value: OpenExternalOptions) -> Self
fn from(value: OpenExternalOptions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for OpenExternalOptions
impl FromWasmAbi for OpenExternalOptions
Source§impl IntoWasmAbi for OpenExternalOptions
impl IntoWasmAbi for OpenExternalOptions
Source§impl PartialEq for OpenExternalOptions
impl PartialEq for OpenExternalOptions
Source§impl RefFromWasmAbi for OpenExternalOptions
impl RefFromWasmAbi for OpenExternalOptions
Source§type Anchor = RcRef<OpenExternalOptions>
type Anchor = RcRef<OpenExternalOptions>
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 TryFromJsValue for OpenExternalOptions
impl TryFromJsValue for OpenExternalOptions
Source§impl VectorFromWasmAbi for OpenExternalOptions
impl VectorFromWasmAbi for OpenExternalOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[OpenExternalOptions]>
Source§impl VectorIntoJsValue for OpenExternalOptions
impl VectorIntoJsValue for OpenExternalOptions
fn vector_into_jsvalue(vector: Box<[OpenExternalOptions]>) -> JsValue
Source§impl VectorIntoWasmAbi for OpenExternalOptions
impl VectorIntoWasmAbi for OpenExternalOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[OpenExternalOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for OpenExternalOptions
impl WasmDescribeVector for OpenExternalOptions
impl Eq for OpenExternalOptions
impl StructuralPartialEq for OpenExternalOptions
impl SupportsConstructor for OpenExternalOptions
impl SupportsInstanceProperty for OpenExternalOptions
impl SupportsStaticProperty for OpenExternalOptions
Auto Trait Implementations§
impl Freeze for OpenExternalOptions
impl RefUnwindSafe for OpenExternalOptions
impl !Send for OpenExternalOptions
impl !Sync for OpenExternalOptions
impl Unpin for OpenExternalOptions
impl UnwindSafe for OpenExternalOptions
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::Abi
Source§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
.