Enum napi::KeyConversion
source · [−]pub enum KeyConversion {
KeepNumbers,
NumbersToStrings,
}
Variants
KeepNumbers
NumbersToStrings
Trait Implementations
sourceimpl From<KeyConversion> for napi_key_conversion
impl From<KeyConversion> for napi_key_conversion
sourcefn from(value: KeyConversion) -> Self
fn from(value: KeyConversion) -> Self
Converts to this type from the input type.
sourceimpl TryFrom<i32> for KeyConversion
impl TryFrom<i32> for KeyConversion
Auto Trait Implementations
impl RefUnwindSafe for KeyConversion
impl Send for KeyConversion
impl Sync for KeyConversion
impl Unpin for KeyConversion
impl UnwindSafe for KeyConversion
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