mirror of
https://github.com/Dummi26/mers.git
synced 2026-03-04 08:36:33 +01:00
remove diff, add subtract to replace it and work with iters, add lt, gt, ltoe, gtoe for < > <= >=
This commit is contained in:
@@ -329,6 +329,9 @@ impl MersType for Type {
|
||||
fn is_included_in_single(&self, target: &dyn MersType) -> bool {
|
||||
self.types.iter().all(|t| t.is_included_in_single(target))
|
||||
}
|
||||
fn is_included_in(&self, target: &dyn MersType) -> bool {
|
||||
self.types.iter().all(|t| t.is_included_in(target))
|
||||
}
|
||||
fn subtypes(&self, acc: &mut Type) {
|
||||
for t in &self.types {
|
||||
t.subtypes(acc);
|
||||
|
||||
Reference in New Issue
Block a user