Remove nalgebra dependency

- Implement our own `Point` and `Vector` types
  - Make `Rectangle` not generic
This commit is contained in:
Héctor Ramón Jiménez 2019-08-31 04:31:13 +02:00
parent 343cafa1ee
commit eecac7b5d1
18 changed files with 69 additions and 31 deletions

View file

@ -110,7 +110,7 @@ impl<'a, Message, Renderer> Element<'a, Message, Renderer> {
/// # fn draw(
/// # &mut self,
/// # _cursor_position: Point,
/// # _bounds: Rectangle<f32>,
/// # _bounds: Rectangle,
/// # _state: &button::State,
/// # _label: &str,
/// # _class: button::Class,