pub trait JetFieldConst: JetField + Copy {
// Required method
fn from_f64(x: f64) -> Self;
}Expand description
A JetField that is Copy and can be built from a real constant with
every derivative channel zero. The nested-dual oracle (Dual2 over a Copy
leaf) needs a dimensionless constructor; the runtime-p Vec-backed flex jets
deliberately do NOT satisfy this (their constant needs a primary count), so
it lives on this subtrait rather than the shared algebra base.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".