Browse Source

Make textium::geometry::Rect fields public

master
Erin 8 years ago
parent
commit
5bedf6be49
1 changed files with 2 additions and 2 deletions
  1. +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. /// A rectangle.
#[derive(Debug, Hash, Eq, PartialEq, Copy, Clone)] #[derive(Debug, Hash, Eq, PartialEq, Copy, Clone)]
pub struct Rect<T> { 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)] #[allow(dead_code)]


Loading…
Cancel
Save