zhc_ir 0.1.8

Graph-based intermediate representation framework with dialect support
Documentation
1
2
3
4
5
6
7
8
9
use std::fmt::Debug;

/// Marker trait for types eligible as IR annotations.
///
/// Automatically implemented for all types satisfying the required bounds.
/// No manual implementation is needed.
pub trait Annotation: PartialEq + Eq + Debug + Clone + 'static {}

impl<T> Annotation for T where T: PartialEq + Eq + Debug + Clone + 'static {}