Struct oo_bindgen::cli::BindingBuilderSettings
source · pub struct BindingBuilderSettings {
pub ffi_target_name: &'static str,
pub jni_target_name: &'static str,
pub ffi_name: &'static str,
pub ffi_path: PathBuf,
pub java_group_id: &'static str,
pub destination_path: PathBuf,
pub library: Rc<Library>,
}
Expand description
Settings that control binding generation
Fields§
§ffi_target_name: &'static str
FFI target name (as specified in with cargo build -p <...>
)
jni_target_name: &'static str
JNI target name (as specified in with cargo build -p <...>
)
ffi_name: &'static str
Compiled FFI name (usually the same as ffi_target_name
, but with hyphens replaced by underscores)
ffi_path: PathBuf
Path to the FFI target
java_group_id: &'static str
Name of the Java group (e.g. io.stepfunc
)
destination_path: PathBuf
Destination path
library: Rc<Library>
Library to build
Trait Implementations§
source§impl Clone for BindingBuilderSettings
impl Clone for BindingBuilderSettings
source§fn clone(&self) -> BindingBuilderSettings
fn clone(&self) -> BindingBuilderSettings
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more