Sin

Trait Sin 

Source
pub trait Sin {
    // Required method
    fn sin_(self) -> Self;
}
Expand description

This trait provides the interface for the sine function.

Required Methods§

Source

fn sin_(self) -> Self

Computes the sine of self, rounding to the nearest.

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.

Implementations on Foreign Types§

Source§

impl Sin for f64

Source§

fn sin_(self) -> Self

Computes the sine of self, rounding to the nearest.

Source§

impl Sin for Complex<f64>

Source§

fn sin_(self) -> Self

Computes the sine of self, rounding to the nearest.

Implementors§