pub trait Definitions {
// Required method
fn structure(&self, url: &str) -> Option<Arc<Structure>>;
// Provided method
fn covers(&self, url: &str) -> bool { ... }
}Expand description
Supplies structure definitions by canonical URL.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".