Trait mz_repr::optimize::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

Object Safety§

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§