pub trait RawScalarTrigonometric {
// Required methods
fn unchecked_sin(self) -> Self;
fn unchecked_asin(self) -> Self;
fn unchecked_cos(self) -> Self;
fn unchecked_acos(self) -> Self;
fn unchecked_tan(self) -> Self;
fn unchecked_atan(self) -> Self;
}Expand description
Trait for unchecked trigonometric operations.
Provides sine, cosine, tangent and their inverse functions without validation.
Required Methods§
Sourcefn unchecked_sin(self) -> Self
fn unchecked_sin(self) -> Self
Computes the sine without validation.
Sourcefn unchecked_asin(self) -> Self
fn unchecked_asin(self) -> Self
Computes the arcsine without validation.
Sourcefn unchecked_cos(self) -> Self
fn unchecked_cos(self) -> Self
Computes the cosine without validation.
Sourcefn unchecked_acos(self) -> Self
fn unchecked_acos(self) -> Self
Computes the arccosine without validation.
Sourcefn unchecked_tan(self) -> Self
fn unchecked_tan(self) -> Self
Computes the tangent without validation.
Sourcefn unchecked_atan(self) -> Self
fn unchecked_atan(self) -> Self
Computes the arctangent without validation.
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.