Skip to main content

NumericPlugin

Trait NumericPlugin 

Source
pub trait NumericPlugin:
    Send
    + Sync
    + 'static {
    // Required methods
    fn name(&self) -> Symbol;
    fn kind(&self) -> NumericKind;
}
Expand description

Common interface for every numeric backend plugin: it reports its method name and the kind of operation it implements.

Required Methods§

Source

fn name(&self) -> Symbol

The method name this plugin registers under (for example, central or rk4).

Source

fn kind(&self) -> NumericKind

The numeric operation kind this plugin implements.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§