diff options
author | Ben Bridle <bridle.benjamin@gmail.com> | 2023-12-24 22:02:42 +1300 |
---|---|---|
committer | Ben Bridle <bridle.benjamin@gmail.com> | 2023-12-24 22:02:42 +1300 |
commit | e2d9f83b27f894794fb4563e32a7bf8b21c15d07 (patch) | |
tree | 138d60d8d8891f6f1f55727cda4eec3915fa08a2 /src/lib.rs | |
parent | b57645384a2ab3ef2ea56629fae44073060db646 (diff) | |
download | phosphor-e2d9f83b27f894794fb4563e32a7bf8b21c15d07.zip |
Use geometry types forwarded by buffer
Previously, this crate was defining its own set of aliases for types
from the geometry crate, which were clashing with the aliases already
defined by the buffer crate. The buffer aliases are now used instead.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -8,7 +8,7 @@ pub use window::*; pub use window_controller::*; pub use window_manager::*; -pub use buffer::{Buffer, Colour}; +pub use buffer::*; pub use winit::{ event::{ModifiersState, ElementState}, event::VirtualKeyCode as KeyCode, @@ -16,10 +16,6 @@ pub use winit::{ }; pub use std::num::NonZeroU32; -pub type Point = geometry::Point<i32>; -pub type Dimensions = geometry::Dimensions<u32>; -pub type Rect = geometry::Rect<i32, u32>; - // ----------------------------------------------------------------------------- #[derive(Copy, Clone)] |