Skip to main content

DimInterface

Trait DimInterface 

Source
pub trait DimInterface:
    Debug
    + Display
    + Clone {
    // Required methods
    fn eval(
        &self,
        values: impl IntoIterator<Item = (impl AsRef<str>, i64)>,
    ) -> Result<Self>;
    fn to_int64(&self) -> Result<i64>;
}

Required Methods§

Source

fn eval( &self, values: impl IntoIterator<Item = (impl AsRef<str>, i64)>, ) -> Result<Self>

Source

fn to_int64(&self) -> Result<i64>

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.

Implementors§