summaryrefslogtreecommitdiff
path: root/examples/01-struct/output/rust/src/main.rs
blob: 04618172fe70fcb41979de9ffe87b35fd100ec7c (plain)
1
2
3
4
5
6
7
8
9
mod point;

use point::Point;

fn main() {
    let point: Point = Point { x: 10, y: 25 };
    let x: i32 = point.x;
    let y: i32 = point.y;
}