pub trait BuildStep {
// Required methods
fn name(&self) -> &str;
fn hash(&self, hasher: &mut Box<dyn Hasher>);
fn execute(
&mut self,
build: &Build,
result: &mut BuildResult,
) -> Result<(), BuildStepError>;
}
Required Methods§
fn name(&self) -> &str
Sourcefn hash(&self, hasher: &mut Box<dyn Hasher>)
fn hash(&self, hasher: &mut Box<dyn Hasher>)
Generate a hash which uniquely identifies the build options