uvm_core 0.13.1

The core functionality for the unity version manager commandline client.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::*;
use std::cmp::Ord;
use std::cmp::Ordering;
use std::cmp::PartialOrd;

impl Ord for EditorInstallation {
    fn cmp(&self, other: &EditorInstallation) -> Ordering {
        self.version.cmp(&other.version)
    }
}

impl PartialOrd for EditorInstallation {
    fn partial_cmp(&self, other: &EditorInstallation) -> Option<Ordering> {
        Some(self.cmp(other))
    }
}