Struct napi::bindgen_prelude::JsRangeError
source · [−]pub struct JsRangeError(_);
Implementations
sourceimpl JsRangeError
impl JsRangeError
sourcepub unsafe fn into_value(self, env: napi_env) -> napi_value
pub unsafe fn into_value(self, env: napi_env) -> napi_value
Safety
This function is safety if env is not null ptr.
sourcepub unsafe fn throw_into(self, env: napi_env)
pub unsafe fn throw_into(self, env: napi_env)
Safety
This function is safety if env is not null ptr.
pub fn throw(&self, env: napi_env) -> Result<()>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for JsRangeError
impl Send for JsRangeError
impl Sync for JsRangeError
impl Unpin for JsRangeError
impl UnwindSafe for JsRangeError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more