Checkpoint
This commit is contained in:
parent
0a2fde8707
commit
90601fe4fd
7 changed files with 195 additions and 36 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue