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.
88875fd006Antonio Scandurra committed on 10/31/2023, 9:11:25 AM· committed by GitHubparentsc98a811f5b1307
13 files changedLine totals unavailable