Make width and height required methods

This commit is contained in:
Héctor Ramón Jiménez 2019-11-16 22:08:49 +01:00
parent 2cbd5d60c4
commit 6cdf69e76b
13 changed files with 78 additions and 10 deletions

View file

@ -15,6 +15,10 @@ where
self.width
}
fn height(&self) -> Length {
self.height
}
fn layout(
&self,
renderer: &Renderer,