pub enum FnHandle<'a> {
Owned(Arc<TemplateDefinition>),
Borrowed(Node<FnRef<'a>>),
}
Expand description
Handle to a function definition somewhere in the glslt units
Variants§
Owned(Arc<TemplateDefinition>)
Reference to a template definition
Borrowed(Node<FnRef<'a>>)
Reference to a function declaration
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for FnHandle<'a>
impl<'a> Send for FnHandle<'a>
impl<'a> Sync for FnHandle<'a>
impl<'a> Unpin for FnHandle<'a>
impl<'a> UnwindSafe for FnHandle<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more