AnnotationFn

Trait AnnotationFn 

Source
pub trait AnnotationFn: Fn(&ExprRef) -> Vec<Self::Annotation> {
    type Annotation: Annotation;
}

Required Associated Types§

Implementors§

Source§

impl<A, F> AnnotationFn for F
where A: Annotation, F: Fn(&ExprRef) -> Vec<A>,