Struct interoptopus_backend_csharp::Generator[][src]

pub struct Generator { /* fields omitted */ }

Implementations

Trait Implementations

Returns the user config.

Returns the library to produce bindings for.

Converts a primitive (Rust) type to a native C# type name, e.g., f32 to float.

Converts a Rust enum name such as Error to a C# enum name Error.

TODO Converts an opaque Rust struct Context to a C# struct ``.

Converts an Rust struct name Vec2 to a C# struct name Vec2.

Converts an Rust fn() to a C# delegate name such as InteropDelegate.

Converts the u32 part in a Rust field x: u32 to a C# equivalent. Might convert pointers to IntPtr.

Converts the u32 part in a Rust paramter x: u32 to a C# equivalent. Might convert pointers to out X or ref X.

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

Performs the conversion.

Performs the conversion.

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.