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§
Sourcefn name(&self) -> Symbol
fn name(&self) -> Symbol
The method name this plugin registers under (for example, central or rk4).
Sourcefn kind(&self) -> NumericKind
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".