mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 21:26:43 +01:00
wip: gotta remember that only dyn works now
This commit is contained in:
parent
49d2055147
commit
20afc397ea
3 changed files with 20 additions and 56 deletions
|
|
@ -80,7 +80,7 @@ pub trait Content {
|
|||
//()
|
||||
//}
|
||||
//}
|
||||
impl<E: Engine, W> Widget for W where W: Content<Engine = E> {
|
||||
impl<E: Engine, W: Content<Engine = E>> Widget for W {
|
||||
type Engine = E;
|
||||
fn layout (&self, to: E::Area) -> Perhaps<E::Area> {
|
||||
self.content().layout(to)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue