1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! [`Eq`](std::cmp::Eq) implementation.

use crate::{DeriveTrait, TraitImpl};

/// Dummy-struct implement [`Trait`](crate::Trait) for [`Eq`](std::cmp::Eq).
pub struct Eq;

impl TraitImpl for Eq {
	fn as_str(&self) -> &'static str {
		"Eq"
	}

	fn default_derive_trait(&self) -> DeriveTrait {
		DeriveTrait::Eq
	}
}