Skip to main content

Operand

Trait Operand 

pub trait Operand {
    // Provided method
    fn to_string(&self) -> String { ... }
}
Expand description

Trait shared by all Operands

Provided Methods§

fn to_string(&self) -> String

Pretty representation of the operand

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§