nowo 0.0.3

A hello world program in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[derive(Debug)]
pub struct ARange {
    #[allow(dead_code)]
    start: u32,
    pub end: u32,
}

impl ARange {
    pub fn new(end: u32) -> ARange {
        ARange { start: 0, end }
    }
    
    #[allow(dead_code)]
    pub fn get_private_field(&self) -> u32 {
        self.start
    }
}