pub trait FunctionFmt {
// Required method
fn base_function_name() -> &'static str;
// Provided methods
fn function_name(ctx: &Context, ty: impl Typed) -> String { ... }
fn format_unary(ctx: &Context, input: Value) -> String { ... }
}Required Methods§
fn base_function_name() -> &'static str
Provided Methods§
fn function_name(ctx: &Context, ty: impl Typed) -> String
fn format_unary(ctx: &Context, input: Value) -> String
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".