Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Commit

Permalink
Merge pull request #77 from EPashkin/public_rectangle_fields
Browse files Browse the repository at this point in the history
Make RectangleInt fields public
  • Loading branch information
gkoz committed May 14, 2016
2 parents be21d8e + dfff7ec commit 1b49472
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/rectangle.rs
Expand Up @@ -5,10 +5,10 @@ use std::mem;
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
#[repr(C)]
pub struct RectangleInt {
x: i32,
y: i32,
width: i32,
height: i32,
pub x: i32,
pub y: i32,
pub width: i32,
pub height: i32,
}

#[doc(hidden)]
Expand Down

0 comments on commit 1b49472

Please sign in to comment.