Trait spirv_tools::val::Validator
source · pub trait Validator: Default {
// Required methods
fn with_env(target_env: TargetEnv) -> Self;
fn validate(
&self,
binary: impl AsRef<[u32]>,
options: Option<ValidatorOptions>
) -> Result<(), Error>;
}