/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
//! Generate foreign language bindings for a uniffi component. //! //! This module contains all the code for generating foreign language bindings, //! along with some helpers for executing foreign language scripts or tests.
mod kotlin; pubuse kotlin::KotlinBindingGenerator; mod python; pubuse python::PythonBindingGenerator; mod ruby; pubuse ruby::RubyBindingGenerator; mod swift; pubuse swift::{generate_swift_bindings, SwiftBindingGenerator, SwiftBindingsOptions};
#[cfg(feature = "bindgen-tests")] pubuseself::{
kotlin::test as kotlin_test, python::test as python_test, ruby::test as ruby_test,
swift::test as swift_test,
};
#[cfg(feature = "bindgen-tests")] /// Mode for the `run_script` function defined for each language #[derive(Clone, Debug)] pubstruct RunScriptOptions { pub show_compiler_messages: bool,
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.