pub trait Ops {
// Required methods
fn sqrt(x: f32) -> f32;
fn acos(x: f32) -> f32;
}
Expand description
Provides the math operations required by the tangent space algorithm but which
aren’t included in Rust’s core
crate.
With the std
feature enabled, a (default) implementation is provided.
Required Methods§
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.