pub struct NativeMecabCategory {
pub category_type: u32,
pub is_invoke: bool,
pub is_group: bool,
pub length: u32,
}Expand description
MeCab OOV options passed from JS.
Fields§
§category_type: u32§is_invoke: bool§is_group: bool§length: u32Trait Implementations§
Source§impl FromNapiValue for NativeMecabCategory
impl FromNapiValue for NativeMecabCategory
Source§unsafe fn from_napi_value(
env: napi_env,
napi_val: napi_value,
) -> Result<NativeMecabCategory>
unsafe fn from_napi_value( env: napi_env, napi_val: napi_value, ) -> Result<NativeMecabCategory>
Safety Read more
fn from_unknown(value: Unknown<'_>) -> Result<Self, Error>
Source§impl ToNapiValue for NativeMecabCategory
impl ToNapiValue for NativeMecabCategory
Source§unsafe fn to_napi_value(
env: napi_env,
val: NativeMecabCategory,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: NativeMecabCategory, ) -> Result<napi_value>
Safety Read more
fn into_unknown(self, env: &Env) -> Result<Unknown<'_>, Error>
Source§impl TypeName for NativeMecabCategory
impl TypeName for NativeMecabCategory
Source§impl ValidateNapiValue for NativeMecabCategory
impl ValidateNapiValue for NativeMecabCategory
Source§unsafe fn validate(
env: *mut napi_env__,
napi_val: *mut napi_value__,
) -> Result<*mut napi_value__, Error>
unsafe fn validate( env: *mut napi_env__, napi_val: *mut napi_value__, ) -> Result<*mut napi_value__, Error>
Safety Read more
Auto Trait Implementations§
impl Freeze for NativeMecabCategory
impl RefUnwindSafe for NativeMecabCategory
impl Send for NativeMecabCategory
impl Sync for NativeMecabCategory
impl Unpin for NativeMecabCategory
impl UnsafeUnpin for NativeMecabCategory
impl UnwindSafe for NativeMecabCategory
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