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