Enum naga::valid::ValidationError [−][src]
pub enum ValidationError {
Layouter(InvalidBaseType),
Type {
handle: Handle<Type>,
name: String,
error: TypeError,
},
Constant {
handle: Handle<Constant>,
name: String,
error: ConstantError,
},
GlobalVariable {
handle: Handle<GlobalVariable>,
name: String,
error: GlobalVariableError,
},
Function {
handle: Handle<Function>,
name: String,
error: FunctionError,
},
EntryPoint {
stage: ShaderStage,
name: String,
error: EntryPointError,
},
Corrupted,
}
Variants
Layouter(InvalidBaseType)
Tuple Fields of Layouter
Fields of Constant
Fields of GlobalVariable
Fields of Function
Fields of EntryPoint
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError
Blanket Implementations
Mutably borrows from an owned value. Read more