Enum naga::front::glsl::ExpectedToken [−][src]
pub enum ExpectedToken {
Token(TokenValue),
TypeName,
Identifier,
IntLiteral,
FloatLiteral,
BoolLiteral,
Eof,
}
Expand description
One of the expected tokens returned in InvalidToken
Variants
Token(TokenValue)
A specific token was expected
Tuple Fields of Token
0: TokenValue
A type was expected
An identifier was expected
An integer literal was expected
A float literal was expected
A boolean literal was expected
The end of file was expected
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 !=
.