[−][src]Trait glsl::parser::Parse
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>,
B: AsRef<str>,
Parse from a string slice.