Skip to main content

FluentFunctionDescriptor

Trait FluentFunctionDescriptor 

Source
pub trait FluentFunctionDescriptor {
    // Required method
    fn type_name(&self) -> &'static str;
}

Required Methods§

Source

fn type_name(&self) -> &'static str

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'b, F> FluentFunctionDescriptor for F
where F: for<'a> Fn(&'a [Value<'a>], &'a [(&'a str, Value<'a>)]) -> Value<'b> + 'static,