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>;
}
Required Methods§
fn with_env(target_env: TargetEnv) -> Self
fn validate( &self, binary: impl AsRef<[u32]>, options: Option<ValidatorOptions> ) -> Result<(), Error>
Object Safety§
This trait is not object safe.