Trait FormattingOp

Source
trait FormattingOp
where Self: Sized,
{ // Required methods fn format( &self, input: &'static str, ) -> Option<(Self, ConstValue, &'static str)>; fn union(self, other: Self) -> Option<Self>; fn bad_value() -> ConstValue; // Provided method fn format_all( &self, input: &'static [&'static str], ) -> Option<(Self, Value, Value, Value)> { ... } }

Required Methods§

Source

fn format( &self, input: &'static str, ) -> Option<(Self, ConstValue, &'static str)>

Source

fn union(self, other: Self) -> Option<Self>

Source

fn bad_value() -> ConstValue

Provided Methods§

Source

fn format_all( &self, input: &'static [&'static str], ) -> Option<(Self, Value, Value, Value)>

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§