pub trait PropertySetCatalog {
// Required method
fn defines(&self, version: SchemaVersion, name: &str) -> Option<bool>;
// Provided method
fn template(&self, version: SchemaVersion, name: &str) -> Option<CatalogSet> { ... }
}Expand description
The set names a release’s PSD/QTO catalog defines.
Implemented by the facade over ifc-template-catalog; any other source
of the catalog may implement it too.
Required Methods§
Provided Methods§
Sourcefn template(&self, version: SchemaVersion, name: &str) -> Option<CatalogSet>
fn template(&self, version: SchemaVersion, name: &str) -> Option<CatalogSet>
The members the catalog of version declares for the set named
exactly name; None when it gives no member templates for it.
The default gives none, so a catalog that only knows names still works: its sets’ members are reported once as not checked (#537).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".