Skip to main content

Statistic

Trait Statistic 

Source
pub trait Statistic: 'static {
    type Key: Hash + Eq + Clone + 'static;
    type Value: Clone + 'static;

    // Required method
    fn compute(graphrecord: &GraphRecord, key: &Self::Key) -> Self::Value;
}

Required Associated Types§

Source

type Key: Hash + Eq + Clone + 'static

Source

type Value: Clone + 'static

Required Methods§

Source

fn compute(graphrecord: &GraphRecord, key: &Self::Key) -> Self::Value

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§