pub trait Layer: Debug + Send + 'static {
// Required method
fn render(
&mut self,
context: &mut LayerContext<'_, '_, '_>
) -> Option<Duration>;
// Provided method
fn find_object(&self, _object: ObjectId) -> Option<Point<Px>> { ... }
}