lol bounds
This commit is contained in:
@@ -11,6 +11,6 @@ pub trait HasWidget {
|
|||||||
type Widget: Widget + ?Sized + Unsize<dyn Widget>;
|
type Widget: Widget + ?Sized + Unsize<dyn Widget>;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<W: Widget + Unsize<dyn Widget>> HasWidget for WidgetRef<W> {
|
impl<W: Widget + Unsize<dyn Widget> + ?Sized> HasWidget for WidgetRef<W> {
|
||||||
type Widget = W;
|
type Widget = W;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user