WIP
This commit is contained in:
parent
43eb7f28d1
commit
656eb9d455
9 changed files with 451 additions and 249 deletions
|
@ -70,7 +70,7 @@ impl Context for AsyncAppContext {
|
|||
fn read_window<T, R>(
|
||||
&self,
|
||||
window: &WindowHandle<T>,
|
||||
read: impl FnOnce(&T, &AppContext) -> R,
|
||||
read: impl FnOnce(View<T>, &AppContext) -> R,
|
||||
) -> Result<R>
|
||||
where
|
||||
T: 'static,
|
||||
|
@ -267,7 +267,7 @@ impl Context for AsyncWindowContext {
|
|||
fn read_window<T, R>(
|
||||
&self,
|
||||
window: &WindowHandle<T>,
|
||||
read: impl FnOnce(&T, &AppContext) -> R,
|
||||
read: impl FnOnce(View<T>, &AppContext) -> R,
|
||||
) -> Result<R>
|
||||
where
|
||||
T: 'static,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue