pub trait BuildSystem {
// Required methods
fn check_build() -> Result<()>;
fn build_with_profile(
&self,
library: &Library,
build_profile: BuildProfile,
) -> Result<()>;
// Provided method
fn build(&self, library: &Library) -> Result<()> { ... }
}Required Methods§
fn check_build() -> Result<()>
fn build_with_profile( &self, library: &Library, build_profile: BuildProfile, ) -> Result<()>
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".