Enum napi_derive_backend::ast::NapiEnumValue
source · pub enum NapiEnumValue {
String(String),
Number(i32),
}
Variants§
Trait Implementations§
source§impl Clone for NapiEnumValue
impl Clone for NapiEnumValue
source§fn clone(&self) -> NapiEnumValue
fn clone(&self) -> NapiEnumValue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NapiEnumValue
impl Debug for NapiEnumValue
source§impl From<&NapiEnumValue> for Literal
impl From<&NapiEnumValue> for Literal
source§fn from(val: &NapiEnumValue) -> Self
fn from(val: &NapiEnumValue) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NapiEnumValue
impl RefUnwindSafe for NapiEnumValue
impl Send for NapiEnumValue
impl Sync for NapiEnumValue
impl Unpin for NapiEnumValue
impl UnwindSafe for NapiEnumValue
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)