]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | // rustfmt-version: Two |
2 | ||
3 | impl<Target: FromEvent<A> + FromEvent<B>, A: Widget2<Ctx = C>, B: Widget2<Ctx = C>, C: for<'a> CtxFamily<'a>> Widget2 for WidgetEventLifter<Target, A, B> | |
4 | { | |
5 | type Ctx = C; | |
6 | type Event = Vec<Target>; | |
7 | } | |
8 | ||
9 | mod foo { | |
10 | impl<Target: FromEvent<A> + FromEvent<B>, A: Widget2<Ctx = C>, B: Widget2<Ctx = C>, C: for<'a> CtxFamily<'a>> Widget2 for WidgetEventLifter<Target, A, B> | |
11 | { | |
12 | type Ctx = C; | |
13 | type Event = Vec<Target>; | |
14 | } | |
15 | } |