Skip to main content

FunctionFmt

Trait FunctionFmt 

Source
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§

Source

fn base_function_name() -> &'static str

Provided Methods§

Source

fn function_name(ctx: &Context, ty: impl Typed) -> String

Source

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".

Implementations on Foreign Types§

Source§

impl FunctionFmt for ArcCosOp

Source§

impl FunctionFmt for ArcCoshOp

Source§

impl FunctionFmt for ArcSinOp

Source§

impl FunctionFmt for ArcSinhOp

Source§

impl FunctionFmt for ArcTanOp

Source§

impl FunctionFmt for ArcTanhOp

Source§

impl FunctionFmt for CeilOp

Source§

impl FunctionFmt for CosOp

Source§

impl FunctionFmt for CoshOp

Source§

impl FunctionFmt for ErfOp

Source§

impl FunctionFmt for ExpOp

Source§

impl FunctionFmt for Expm1Op

Source§

impl FunctionFmt for FloorOp

Source§

impl FunctionFmt for LogOp

Source§

impl FunctionFmt for RoundOp

Source§

impl FunctionFmt for RsqrtOp

Source§

impl FunctionFmt for SinOp

Source§

impl FunctionFmt for SinhOp

Source§

impl FunctionFmt for SqrtOp

Source§

impl FunctionFmt for TanOp

Source§

impl FunctionFmt for TanhOp

Source§

impl FunctionFmt for TruncOp

Implementors§