1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
use crate::subject::Subject;
use std::cmp::Ordering;

impl PartialEq for Subject {
    fn eq(&self, other: &Self) -> bool {
        true
    }
}

impl Eq for Subject { }

impl PartialOrd for Subject {
    fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
        None
    }
}

impl Ord for Subject {
    fn cmp(&self, other: &Self) -> Ordering {
        Ordering::Equal
    }
}