mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-17 07:49:29 +00:00
88875fd006
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. |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml |