[][src]Struct node_sys::WriteFileSyncOptions

pub struct WriteFileSyncOptions { /* fields omitted */ }

Methods

impl WriteFileSyncOptions[src]

pub fn new(
    encoding: Option<JsString>,
    flag: Option<JsString>,
    mode: Option<u32>
) -> WriteFileSyncOptions
[src]

pub fn encoding(&self) -> Option<JsString>[src]

pub fn set_encoding(&mut self, value: Option<JsString>)[src]

pub fn flag(&self) -> Option<JsString>[src]

pub fn set_flag(&mut self, value: Option<JsString>)[src]

pub fn mode(&self) -> Option<u32>[src]

pub fn set_mode(&mut self, value: Option<u32>)[src]

Trait Implementations

impl Clone for WriteFileSyncOptions[src]

impl Debug for WriteFileSyncOptions[src]

impl Default for WriteFileSyncOptions[src]

impl Eq for WriteFileSyncOptions[src]

impl From<WriteFileSyncOptions> for JsValue[src]

impl FromWasmAbi for WriteFileSyncOptions[src]

type Abi = u32

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

impl IntoWasmAbi for WriteFileSyncOptions[src]

type Abi = u32

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

impl OptionFromWasmAbi for WriteFileSyncOptions[src]

impl OptionIntoWasmAbi for WriteFileSyncOptions[src]

impl PartialEq<WriteFileSyncOptions> for WriteFileSyncOptions[src]

impl RefFromWasmAbi for WriteFileSyncOptions[src]

type Abi = u32

The wasm ABI type references to Self are recovered from.

type Anchor = Ref<'static, WriteFileSyncOptions>

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 RefMutFromWasmAbi for WriteFileSyncOptions[src]

type Abi = u32

Same as RefFromWasmAbi::Abi

type Anchor = RefMut<'static, WriteFileSyncOptions>

Same as RefFromWasmAbi::Anchor

impl StructuralEq for WriteFileSyncOptions[src]

impl StructuralPartialEq for WriteFileSyncOptions[src]

impl WasmDescribe for WriteFileSyncOptions[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.