pub struct NapiObject {
pub fields: Vec<NapiStructField>,
pub object_from_js: bool,
pub object_to_js: bool,
pub is_tuple: bool,
}
Fields§
§fields: Vec<NapiStructField>
§object_from_js: bool
§object_to_js: bool
§is_tuple: bool
Trait Implementations§
Source§impl Clone for NapiObject
impl Clone for NapiObject
Source§fn clone(&self) -> NapiObject
fn clone(&self) -> NapiObject
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 NapiObject
impl RefUnwindSafe for NapiObject
impl !Send for NapiObject
impl !Sync for NapiObject
impl Unpin for NapiObject
impl UnwindSafe for NapiObject
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