pub trait RuleView {
// Required methods
fn id(&self) -> &str;
fn content(&self) -> &str;
fn origin(&self) -> &str;
fn confidence(&self) -> Option<f64>;
}Required Methods§
fn id(&self) -> &str
fn content(&self) -> &str
fn origin(&self) -> &str
fn confidence(&self) -> Option<f64>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".