pub struct NodeStream { /* private fields */ }Expand description
Node stream iterator
Implementations§
Source§impl NodeStream
impl NodeStream
Source§impl NodeStream
impl NodeStream
pub fn into_reference( val: NodeStream, env: Env, ) -> Result<Reference<NodeStream>>
pub fn into_instance(self, env: Env) -> Result<ClassInstance<NodeStream>>
Trait Implementations§
Source§impl FromNapiMutRef for NodeStream
impl FromNapiMutRef for NodeStream
Source§unsafe fn from_napi_mut_ref(
env: napi_env,
napi_val: napi_value,
) -> Result<&'static mut Self>
unsafe fn from_napi_mut_ref( env: napi_env, napi_val: napi_value, ) -> Result<&'static mut Self>
Safety Read more
Source§impl FromNapiRef for NodeStream
impl FromNapiRef for NodeStream
Source§unsafe fn from_napi_ref(
env: napi_env,
napi_val: napi_value,
) -> Result<&'static Self>
unsafe fn from_napi_ref( env: napi_env, napi_val: napi_value, ) -> Result<&'static Self>
Safety Read more
Source§impl FromNapiValue for &NodeStream
impl FromNapiValue for &NodeStream
Source§unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: JsUnknown) -> Result<Self, Error>
Source§impl FromNapiValue for &mut NodeStream
impl FromNapiValue for &mut NodeStream
Source§unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: JsUnknown) -> Result<Self, Error>
Source§impl ToNapiValue for NodeStream
impl ToNapiValue for NodeStream
Source§unsafe fn to_napi_value(env: napi_env, val: NodeStream) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, val: NodeStream) -> Result<napi_value>
Safety Read more
Source§impl TypeName for &NodeStream
impl TypeName for &NodeStream
Source§impl TypeName for &mut NodeStream
impl TypeName for &mut NodeStream
Source§impl TypeName for NodeStream
impl TypeName for NodeStream
Source§impl ValidateNapiValue for &NodeStream
impl ValidateNapiValue for &NodeStream
Source§unsafe fn validate(env: napi_env, napi_val: napi_value) -> Result<napi_value>
unsafe fn validate(env: napi_env, napi_val: napi_value) -> Result<napi_value>
Safety Read more
Source§impl ValidateNapiValue for &mut NodeStream
impl ValidateNapiValue for &mut NodeStream
Source§unsafe fn validate(env: napi_env, napi_val: napi_value) -> Result<napi_value>
unsafe fn validate(env: napi_env, napi_val: napi_value) -> Result<napi_value>
Safety Read more
Auto Trait Implementations§
impl Freeze for NodeStream
impl !RefUnwindSafe for NodeStream
impl Send for NodeStream
impl !Sync for NodeStream
impl Unpin for NodeStream
impl !UnwindSafe for NodeStream
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more