Trait glsl::parser::Parse [−][src]
Class of types that can be parsed.
This trait exposes the Parse::parse
function that can be used to parse GLSL types.
The methods from this trait are the standard way to parse data into GLSL ASTs.
Required methods
fn parse<B>(source: B) -> Result<Self, ParseError> where
B: AsRef<str>,
[src]
B: AsRef<str>,
Parse from a string slice.
Implementors
impl Parse for ArraySpecifier
[src]
impl Parse for ArraySpecifier
[src]impl Parse for AssignmentOp
[src]
impl Parse for AssignmentOp
[src]impl Parse for Declaration
[src]
impl Parse for Declaration
[src]impl Parse for ExternalDeclaration
[src]
impl Parse for ExternalDeclaration
[src]impl Parse for FunIdentifier
[src]
impl Parse for FunIdentifier
[src]impl Parse for Initializer
[src]
impl Parse for Initializer
[src]impl Parse for InterpolationQualifier
[src]
impl Parse for InterpolationQualifier
[src]impl Parse for IterationStatement
[src]
impl Parse for IterationStatement
[src]impl Parse for JumpStatement
[src]
impl Parse for JumpStatement
[src]impl Parse for PrecisionQualifier
[src]
impl Parse for PrecisionQualifier
[src]impl Parse for Preprocessor
[src]
impl Parse for Preprocessor
[src]impl Parse for PreprocessorExtensionBehavior
[src]
impl Parse for PreprocessorExtensionBehavior
[src]impl Parse for PreprocessorExtensionName
[src]
impl Parse for PreprocessorExtensionName
[src]impl Parse for PreprocessorVersionProfile
[src]
impl Parse for PreprocessorVersionProfile
[src]impl Parse for SimpleStatement
[src]
impl Parse for SimpleStatement
[src]impl Parse for StorageQualifier
[src]
impl Parse for StorageQualifier
[src]impl Parse for TypeQualifierSpec
[src]
impl Parse for TypeQualifierSpec
[src]impl Parse for TypeSpecifierNonArray
[src]
impl Parse for TypeSpecifierNonArray
[src]impl Parse for CompoundStatement
[src]
impl Parse for CompoundStatement
[src]impl Parse for FullySpecifiedType
[src]
impl Parse for FullySpecifiedType
[src]impl Parse for FunctionDefinition
[src]
impl Parse for FunctionDefinition
[src]impl Parse for FunctionPrototype
[src]
impl Parse for FunctionPrototype
[src]impl Parse for Identifier
[src]
impl Parse for Identifier
[src]impl Parse for InitDeclaratorList
[src]
impl Parse for InitDeclaratorList
[src]impl Parse for LayoutQualifier
[src]
impl Parse for LayoutQualifier
[src]impl Parse for PreprocessorExtension
[src]
impl Parse for PreprocessorExtension
[src]impl Parse for PreprocessorVersion
[src]
impl Parse for PreprocessorVersion
[src]impl Parse for SelectionStatement
[src]
impl Parse for SelectionStatement
[src]impl Parse for SingleDeclaration
[src]
impl Parse for SingleDeclaration
[src]impl Parse for StructFieldSpecifier
[src]
impl Parse for StructFieldSpecifier
[src]impl Parse for StructSpecifier
[src]
impl Parse for StructSpecifier
[src]impl Parse for SwitchStatement
[src]
impl Parse for SwitchStatement
[src]impl Parse for TranslationUnit
[src]
impl Parse for TranslationUnit
[src]impl Parse for TypeQualifier
[src]
impl Parse for TypeQualifier
[src]impl Parse for TypeSpecifier
[src]
impl Parse for TypeSpecifier
[src]impl Parse for ExprStatement
[src]
impl Parse for ExprStatement
[src]