pub struct NapiImpl {Show 14 fields
pub name: Ident,
pub js_name: String,
pub has_lifetime: bool,
pub items: Vec<NapiFn>,
pub task_output_type: Option<Type>,
pub iterator_yield_type: Option<Type>,
pub iterator_next_type: Option<Type>,
pub iterator_return_type: Option<Type>,
pub async_iterator_yield_type: Option<Type>,
pub async_iterator_next_type: Option<Type>,
pub async_iterator_return_type: Option<Type>,
pub js_mod: Option<String>,
pub comments: Vec<String>,
pub register_name: Ident,
}Fields§
§name: Ident§js_name: String§has_lifetime: bool§items: Vec<NapiFn>§task_output_type: Option<Type>§iterator_yield_type: Option<Type>§iterator_next_type: Option<Type>§iterator_return_type: Option<Type>§async_iterator_yield_type: Option<Type>§async_iterator_next_type: Option<Type>§async_iterator_return_type: Option<Type>§js_mod: Option<String>§comments: Vec<String>§register_name: IdentTrait Implementations§
Source§impl TryToTokens for NapiImpl
impl TryToTokens for NapiImpl
fn try_to_tokens(&self, tokens: &mut TokenStream) -> BindgenResult<()>
fn try_to_token_stream(&self) -> BindgenResult<TokenStream>
Auto Trait Implementations§
impl Freeze for NapiImpl
impl RefUnwindSafe for NapiImpl
impl !Send for NapiImpl
impl !Sync for NapiImpl
impl Unpin for NapiImpl
impl UnsafeUnpin for NapiImpl
impl UnwindSafe for NapiImpl
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