Function arithmetic_eval::fns::wrap[][src]

pub const fn wrap<T, F>(function: F) -> FnWrapper<T, F>
Expand description

Wraps a function enriching it with the information about its arguments. This is a slightly shorter way to create wrappers compared to calling FnWrapper::new().

See FnWrapper for more details on function requirements.