Skip to main content

Value

Trait Value 

Source
pub trait Value {
    // Required method
    fn op(&self, other: &Self) -> Self;
}

Required Methods§

Source

fn op(&self, other: &Self) -> Self

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.

Implementations on Foreign Types§

Source§

impl Value for ()

Source§

fn op(&self, _other: &Self) -> Self

Implementors§