pub trait Trig: Sealed {
// Required methods
fn sin(self) -> f32;
fn cos(self) -> f32;
fn tan(self) -> f32;
fn sin_cos(self) -> (f32, f32);
fn asin(value: f32) -> Self;
fn acos(value: f32) -> Self;
fn atan(value: f32) -> Self;
}Expand description
A closed trait used to provide trigonmetric functionalities to angular types.
Note: This may become unsealed in a future update
Required Methods§
Object Safety§
This trait is not object safe.