Trait srclang::Db

pub trait Db: DbWithJar<Jar> { }

The Db trait is a marker trait that is used to ensure that the Jar struct is a valid salsa database. The default convention is to implement this at the crate level.

Implementors

impl<DB> Db for DBwhere DB: ?Sized + DbWithJar<Jar>,

Implement the Db trait for the Jar struct. The default convention is to implement this at the crate level.