pub enum NapiStructKind {
Transparent(NapiTransparent),
Class(NapiClass),
Object(NapiObject),
StructuredEnum(NapiStructuredEnum),
Array(NapiArray),
}
Variants§
Transparent(NapiTransparent)
Class(NapiClass)
Object(NapiObject)
StructuredEnum(NapiStructuredEnum)
Array(NapiArray)
Trait Implementations§
Source§impl Clone for NapiStructKind
impl Clone for NapiStructKind
Source§fn clone(&self) -> NapiStructKind
fn clone(&self) -> NapiStructKind
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for NapiStructKind
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