Struct ast_grep_napi::Range
source · [−]Fields
start: Pos
end: Pos
Trait Implementations
sourceimpl FromNapiValue for Range
impl FromNapiValue for Range
sourceunsafe 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>
sourceimpl ToNapiValue for Range
impl ToNapiValue for Range
sourceunsafe fn to_napi_value(env: napi_env, val: Range) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, val: Range) -> Result<napi_value>
Safety Read more
Auto Trait Implementations
impl RefUnwindSafe for Range
impl Send for Range
impl Sync for Range
impl Unpin for Range
impl UnwindSafe for Range
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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