Trait script::dom::webgl_validations::WebGLValidator

source ·
pub trait WebGLValidator {
    type ValidatedOutput;
    type Error: Error;

    // Required method
    fn validate(self) -> Result<Self::ValidatedOutput, Self::Error>;
}

Required Associated Types§

Required Methods§

source

fn validate(self) -> Result<Self::ValidatedOutput, Self::Error>

Implementors§