This website works better with JavaScript.
Home
Explore
Help
Sign In
er1n
/
gongtracker
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Make textium::geometry::Rect fields public
master
Erin
8 years ago
parent
85221b5e4e
commit
5bedf6be49
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
textium/src/geometry.rs
+ 2
- 2
textium/src/geometry.rs
View File
@ -4,8 +4,8 @@ use std::ops::{Add, Sub, Mul};
/// A rectangle.
#[
derive(Debug, Hash, Eq, PartialEq, Copy, Clone)
]
pub
struct
Rect
<
T
>
{
x
:
T
,
y
:
T
,
w
:
T
,
h
:
T
,
pub
x
:
T
,
pub
y
:
T
,
pub
w
:
T
,
pub
h
:
T
,
}
#[
allow(dead_code)
]
Write
Preview
Loading…
Cancel
Save