1 2 3 4 5 6 7 8 9
pub acs PartialEq: trait { acs eq: fn(&self, other: &Self) -> bool; acs ne: fn(&self, other: &Self) -> bool { !self.eq(other) } } pub acs Eq: trait: PartialEq