//! Module containing just useful macros.
/// Implements `PartialEq`, `Eq` and `Hash` for a type based on a single field
/// (usually component name).
///
/// # Example
/// ```rust
/// struct Component {
/// name: String,
/// // other fields...
/// }
///
/// impl_eq_name!(Component::name);