mz_repr::optimize

Trait OptimizerFeatureType

Source
trait OptimizerFeatureType {
    // Required methods
    fn encode(self) -> String;
    fn decode(v: &str) -> Self;
}
Expand description

A trait that handles conversion of feature flags.

Required Methods§

Source

fn encode(self) -> String

Source

fn decode(v: &str) -> 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 OptimizerFeatureType for bool

Source§

fn encode(self) -> String

Source§

fn decode(v: &str) -> Self

Source§

impl OptimizerFeatureType for usize

Source§

fn encode(self) -> String

Source§

fn decode(v: &str) -> Self

Implementors§