pub struct Names { /* private fields */ }

Implementations

Convert an enum variant from its Id name to its Rust Ident representation.

Convert a struct member from its Id name to its Rust Ident representation.

Convert a module name from its Id name to its Rust Ident representation.

Convert a trait name from its Id name to its Rust Ident representation.

Convert a function name from its Id name to its Rust Ident representation.

Convert a parameter name from its Id name to its Rust Ident representation.

For when you need a {name}_ptr binding for passing a value by reference:

For when you need a {name}_len binding for passing an array:

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.