pub enum TryTemplate {
Template(Box<TemplateDefinition>),
Function(Box<FunctionDefinition>),
}
Expand description
Result of parsing a function definition
Variants
Template(Box<TemplateDefinition>)
GLSLT template function
Function(Box<FunctionDefinition>)
GLSL function
Auto Trait Implementations
impl RefUnwindSafe for TryTemplate
impl Send for TryTemplate
impl Sync for TryTemplate
impl Unpin for TryTemplate
impl UnwindSafe for TryTemplate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more