zed/crates/gpui2
Antonio Scandurra 88875fd006
Zed2 entities (#3189)
Adds an `Entity` trait for abstracting over `View`s and `Model`s, and
implements it for the `subscribe()` and `observe()` APIs.

The last commit also includes a fun experiment I added, using the
`Result` type to return the owned model handles back to the caller in
the case of downcast failure, inspired by the `binary_search*` methods.
2023-10-31 10:11:25 +01:00
..
src Zed2 entities (#3189) 2023-10-31 10:11:25 +01:00
build.rs WIP 2023-10-22 19:56:25 +02:00
Cargo.toml WIP 2023-10-21 17:52:47 +02:00