Skip to main content

Cos

Trait Cos 

Source
pub trait Cos {
    type Output;

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

Required Associated Types§

Required Methods§

Source

fn cos(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 Cos for f32

Source§

type Output = f32

Source§

fn cos(self) -> <f32 as Cos>::Output

Source§

impl Cos for f64

Source§

type Output = f64

Source§

fn cos(self) -> <f64 as Cos>::Output

Implementors§