pub trait ApproxInternable {
// Required method
fn intern_floats<F: FnMut(&mut f64)>(&mut self, f: &mut F);
}Expand description
Trait for types that can be interned (component-wise) in a crate::FloatPool.
Required Methods§
Sourcefn intern_floats<F: FnMut(&mut f64)>(&mut self, f: &mut F)
fn intern_floats<F: FnMut(&mut f64)>(&mut self, f: &mut F)
Interns every float in the object by calling f.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.