pub struct NapiType {
pub name: Ident,
pub js_name: String,
pub value: Type,
pub register_name: Ident,
pub skip_typescript: bool,
pub js_mod: Option<String>,
pub comments: Vec<String>,
}Fields§
§name: Ident§js_name: String§value: Type§register_name: Ident§skip_typescript: bool§js_mod: Option<String>§comments: Vec<String>Trait Implementations§
Source§impl TryToTokens for NapiType
impl TryToTokens for NapiType
fn try_to_tokens(&self, tokens: &mut TokenStream) -> BindgenResult<()>
fn try_to_token_stream(&self) -> BindgenResult<TokenStream>
Auto Trait Implementations§
impl Freeze for NapiType
impl RefUnwindSafe for NapiType
impl !Send for NapiType
impl !Sync for NapiType
impl Unpin for NapiType
impl UnwindSafe for NapiType
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