Enum napi_derive_backend::ast::NapiStructKind
source · pub enum NapiStructKind {
None,
Constructor,
Object,
}
Variants§
Trait Implementations§
source§impl Clone for NapiStructKind
impl Clone for NapiStructKind
source§fn clone(&self) -> NapiStructKind
fn clone(&self) -> NapiStructKind
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 NapiStructKind
impl Debug for NapiStructKind
source§impl PartialEq for NapiStructKind
impl PartialEq for NapiStructKind
source§fn eq(&self, other: &NapiStructKind) -> bool
fn eq(&self, other: &NapiStructKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NapiStructKind
impl StructuralEq for NapiStructKind
impl StructuralPartialEq for NapiStructKind
Auto Trait Implementations§
impl RefUnwindSafe for NapiStructKind
impl Send for NapiStructKind
impl Sync for NapiStructKind
impl Unpin for NapiStructKind
impl UnwindSafe for NapiStructKind
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