pub struct JsStringUtf8<'env> { /* private fields */ }Implementations§
Source§impl<'env> JsStringUtf8<'env>
impl<'env> JsStringUtf8<'env>
Trait Implementations§
Source§impl From<JsStringUtf8<'_>> for Vec<u8>
impl From<JsStringUtf8<'_>> for Vec<u8>
Source§fn from(value: JsStringUtf8<'_>) -> Self
fn from(value: JsStringUtf8<'_>) -> Self
Converts to this type from the input type.
Source§impl ToNapiValue for JsStringUtf8<'_>
impl ToNapiValue for JsStringUtf8<'_>
Source§unsafe fn to_napi_value(
_: napi_env,
val: JsStringUtf8<'_>,
) -> Result<napi_value>
unsafe fn to_napi_value( _: napi_env, val: JsStringUtf8<'_>, ) -> Result<napi_value>
Safety Read more
fn into_unknown(self, env: &Env) -> Result<Unknown<'_>>
Auto Trait Implementations§
impl<'env> Freeze for JsStringUtf8<'env>
impl<'env> RefUnwindSafe for JsStringUtf8<'env>
impl<'env> !Send for JsStringUtf8<'env>
impl<'env> !Sync for JsStringUtf8<'env>
impl<'env> Unpin for JsStringUtf8<'env>
impl<'env> UnwindSafe for JsStringUtf8<'env>
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