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