Make width and height required methods
This commit is contained in:
parent
2cbd5d60c4
commit
6cdf69e76b
13 changed files with 78 additions and 10 deletions
|
|
@ -13,6 +13,10 @@ where
|
|||
self.width
|
||||
}
|
||||
|
||||
fn height(&self) -> Length {
|
||||
self.height
|
||||
}
|
||||
|
||||
fn layout(
|
||||
&self,
|
||||
renderer: &Renderer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue