Skip to main content

Sine

Trait Sine 

Source
pub trait Sine {
    type Output;

    // Required method
    fn sin(self) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn sin(self) -> Self::Output

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Sine for f32

Source§

type Output = f32

Source§

fn sin(self) -> <f32 as Sine>::Output

Source§

impl Sine for f64

Source§

type Output = f64

Source§

fn sin(self) -> <f64 as Sine>::Output

Implementors§