pub trait RuleExt {
// Required method
fn downcast_ref<T: 'static>(&self) -> Option<&T>;
}Expand description
Extension trait to add downcasting capabilities to Rule
Required Methods§
fn downcast_ref<T: 'static>(&self) -> Option<&T>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.