Struct ast_grep_napi::NapiConfig
source · pub struct NapiConfig {
pub rule: Value,
pub constraints: Option<Value>,
pub language: Option<FrontEndLanguage>,
pub utils: Option<Value>,
}
Fields§
§rule: Value
§constraints: Option<Value>
§language: Option<FrontEndLanguage>
§utils: Option<Value>
Trait Implementations§
source§impl FromNapiValue for NapiConfig
impl FromNapiValue for NapiConfig
source§impl ToNapiValue for NapiConfig
impl ToNapiValue for NapiConfig
source§unsafe fn to_napi_value(env: napi_env, val: NapiConfig) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, val: NapiConfig) -> Result<napi_value>
Safety Read more
source§impl TypeName for NapiConfig
impl TypeName for NapiConfig
Auto Trait Implementations§
impl RefUnwindSafe for NapiConfig
impl Send for NapiConfig
impl Sync for NapiConfig
impl Unpin for NapiConfig
impl UnwindSafe for NapiConfig
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