Checkpoint

This commit is contained in:
Nathan Sobo 2023-10-31 11:15:53 -06:00
parent 0a2fde8707
commit 90601fe4fd
7 changed files with 195 additions and 36 deletions

View file

@ -95,7 +95,7 @@ pub trait Context {
}
pub trait VisualContext: Context {
type ViewContext<'a, 'w, V>;
type ViewContext<'a, 'w, V: 'static>;
fn build_view<V>(
&mut self,
@ -184,7 +184,7 @@ impl<C: Context> Context for MainThread<C> {
}
impl<C: VisualContext> VisualContext for MainThread<C> {
type ViewContext<'a, 'w, V> = MainThread<C::ViewContext<'a, 'w, V>>;
type ViewContext<'a, 'w, V: 'static> = MainThread<C::ViewContext<'a, 'w, V>>;
fn build_view<V>(
&mut self,