Constants

  • Predefined C++ classes and primitive types typedefs useful during the standard work on FFI basic structures. It consists of a custom RustVector and String implementations that keep track of some object ownership aspects. Items returned by RustVec::at(x) method should be treated as references, since the underlying objects are owned by the vector.

Traits

Functions

  • Creates a class that maps onto the custom structures with methods that are available in the FFI. The ownership depends on the source from which the object is created.
  • Creates an implementation of RustVec begin and end implementation. It should be generated for primitive types only, cause pointer arithmetics for Rust opaque types is not trivial.
  • Creates exception class for an error variant that may be returned from rust
  • Creates exception class for an error variant of primitive enum that may be returned from rust
  • Creates a class that maps onto the custom structures with methods that are available in the FFI. The ownership depends on the source from which the object is created.
  • Creates a class that maps onto the Rust Option object. The ownership depends on the source from which the object is created.
  • Creates a class that maps onto the Rust Result<T, E> object. The ownership depends on the source from which the object is created.
  • Creates an implementation of RustVec for a given T that maps to the Rust Vec object.