salsa/components
Niko Matsakis 596461c213 hide internal methods behind a Zalsa trait
The traits are now quite simple:

* Database is the external trait
* ZalsaDatabase is the internal one, implemented
  by `#[salsa::db]`. It adds two methods,
  `zalsa` and `zalsa_mut`. Those give access
  to our internal methods.

For now I've hidden the methods behind
`&dyn Zalsa`. This is nice and clean but it may
be worth later refactoring to a `struct Zalsa`.
2024-07-28 12:35:33 +00:00
..
salsa-macro-rules hide internal methods behind a Zalsa trait 2024-07-28 12:35:33 +00:00
salsa-macros hide internal methods behind a Zalsa trait 2024-07-28 12:35:33 +00:00