Trait Cos

Source
pub trait Cos: CubePrimitive + Sized {
    // Provided methods
    fn cos(x: Self) -> Self { ... }
    fn __expand_cos(
        scope: &mut Scope,
        x: Self::ExpandType,
    ) -> ExpandElementTyped<Self> { ... }
}

Provided Methods§

Source

fn cos(x: Self) -> Self

Source

fn __expand_cos( scope: &mut Scope, x: Self::ExpandType, ) -> ExpandElementTyped<Self>

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 Cos for f32

Source§

impl Cos for f64

Source§

impl Cos for bf16

Source§

impl Cos for f16

Implementors§

Source§

impl Cos for flex32

Source§

impl Cos for tf32

Source§

impl<P: CubePrimitive + Cos> Cos for Line<P>

Source§

impl<const POS: u8> Cos for FloatExpand<POS>