Enum naga::proc::ResolveError [−][src]
pub enum ResolveError {
OutOfBoundsIndex {
expr: Handle<Expression>,
index: u32,
},
InvalidAccess {
expr: Handle<Expression>,
indexed: bool,
},
InvalidSubAccess {
ty: Handle<Type>,
indexed: bool,
},
InvalidScalar(Handle<Expression>),
InvalidVector(Handle<Expression>),
InvalidPointer(Handle<Expression>),
InvalidImage(Handle<Expression>),
FunctionNotDefined {
name: String,
},
FunctionReturnsVoid,
TypeNotFound,
IncompatibleOperands(String),
}
Variants
Fields of OutOfBoundsIndex
expr: Handle<Expression>
index: u32
Fields of InvalidAccess
expr: Handle<Expression>
indexed: bool
InvalidScalar(Handle<Expression>)
Tuple Fields of InvalidScalar
0: Handle<Expression>
InvalidVector(Handle<Expression>)
Tuple Fields of InvalidVector
0: Handle<Expression>
InvalidPointer(Handle<Expression>)
Tuple Fields of InvalidPointer
0: Handle<Expression>
InvalidImage(Handle<Expression>)
Tuple Fields of InvalidImage
0: Handle<Expression>
Fields of FunctionNotDefined
name: String
IncompatibleOperands(String)
Tuple Fields of IncompatibleOperands
0: String
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ResolveError
impl Send for ResolveError
impl Sync for ResolveError
impl Unpin for ResolveError
impl UnwindSafe for ResolveError
Blanket Implementations
Mutably borrows from an owned value. Read more