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