Identity

Trait Identity 

Source
pub trait Identity {
    // Required method
    fn identity() -> Self;
}
Expand description

Transformation that has an identity element.

Required Methods§

Source

fn identity() -> Self

Get an identity element.

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§

Source§

impl<U: Zero + One> Identity for Moebius<U>