Type Alias glsl_lang_pp::processor::nodes::DirectiveResult
source · pub type DirectiveResult<I> = Result<Directive<I>, <Directive<I> as TryFrom<(FileId, SyntaxNode<PreprocessorLang>)>>::Error>;
Aliased Type§
enum DirectiveResult<I> {
Ok(Directive<I>),
Err(<Directive<I> as TryFrom<(FileId, SyntaxNode<PreprocessorLang>)>>::Error),
}
Variants§
Ok(Directive<I>)
Contains the success value
Err(<Directive<I> as TryFrom<(FileId, SyntaxNode<PreprocessorLang>)>>::Error)
Contains the error value