rust_wheel 0.1.13

A project to define some public component.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[derive(Debug, PartialEq, PartialOrd, Eq)]
pub enum CompileResult {
    Success = 0,
    Failure = 1,
    Unknown = -1
}

impl From<CompileResult> for i32 {
    fn from(result: CompileResult) -> Self {
        match result {
            CompileResult::Success => 0,
            CompileResult::Failure => 1,
            CompileResult::Unknown => -1,
        }
    }
}