Name Description Size
callback_interfaces.rs 1565
complex_fns.rs Test lifting/lowering primitive types 981
compound_types.rs 701
custom_types.rs 1867
enums.rs 1264
errors.rs 1495
futures.rs Async functions that round-trip data. The purpose of these is to test the lift/lower implementations in the async code. 3118
interfaces.rs 1198
lib.rs 907
primitive_types.rs Test lifting/lowering primitive types 1637
records.rs 885
simple_fns.rs Extremely simple fixture to test making scaffolding calls without any arguments or return types The test is if the bindings can make a call to `test_func`. If in doubt, run the tests with `--features=ffi-trace` to check that the function is actually called. 523
trait_interfaces.rs Trait interface test. This is the like the `callback_interfaces` module, except it uses a trait that has `with_foreign` enabled (AKA a trait interface). This means UniFFI supports both Rust and foreign language implementations of the trait. 4889