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 moreAuto Trait Implementations§
impl Freeze for BindingBuilderSettings
impl RefUnwindSafe for BindingBuilderSettings
impl !Send for BindingBuilderSettings
impl !Sync for BindingBuilderSettings
impl Unpin for BindingBuilderSettings
impl UnwindSafe for BindingBuilderSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more