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