Skip to main content

HasExpMap

Trait HasExpMap 

Source
pub trait HasExpMap: Sized {
    type Algebra: Clone + PartialEq;

    // Required methods
    fn exp(x: &Self::Algebra) -> Self;
    fn log(&self) -> Option<Self::Algebra>;
}

Required Associated Types§

Required Methods§

Source

fn exp(x: &Self::Algebra) -> Self

Source

fn log(&self) -> Option<Self::Algebra>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§