vrust 0.0.1

VRust game engine
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::default::Default;
use std::mem::zeroed;

#[repr(C)]
#[derive(Copy, Clone, Debug)]
pub struct ARect {
    pub left: i32,
    pub top: i32,
    pub right: i32,
    pub bottom: i32,
}

impl Default for ARect {
    fn default() -> Self {
        unsafe { zeroed() }
    }
}