pub struct BuildConfig {
pub tool: &'static str,
pub crate_suffix: &'static str,
pub depends_on_ffi: bool,
pub post_build: Vec<PostBuildStep>,
}Expand description
Build configuration for a language backend.
Fields§
§tool: &'static strBuild tool name (e.g., “napi”, “maturin”, “wasm-pack”, “cargo”, “mvn”, “dotnet”, “mix”).
crate_suffix: &'static strCrate suffix for Rust binding crate (e.g., “-node”, “-py”, “-wasm”, “-ffi”).
depends_on_ffi: boolWhether this language depends on the FFI crate being built first (Go, Java, C#).
post_build: Vec<PostBuildStep>Post-processing steps to run after build.
Trait Implementations§
Source§impl Clone for BuildConfig
impl Clone for BuildConfig
Source§fn clone(&self) -> BuildConfig
fn clone(&self) -> BuildConfig
Returns a duplicate 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 BuildConfig
impl RefUnwindSafe for BuildConfig
impl Send for BuildConfig
impl Sync for BuildConfig
impl Unpin for BuildConfig
impl UnsafeUnpin for BuildConfig
impl UnwindSafe for BuildConfig
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