Skip to main content

RuleView

Trait RuleView 

Source
pub trait RuleView {
    // Required methods
    fn id(&self) -> &str;
    fn content(&self) -> &str;
    fn origin(&self) -> &str;
    fn confidence(&self) -> Option<f64>;
}

Required Methods§

Source

fn id(&self) -> &str

Source

fn content(&self) -> &str

Source

fn origin(&self) -> &str

Source

fn confidence(&self) -> Option<f64>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§