Skip to main content

FloatAsScalar

Trait FloatAsScalar 

Source
pub trait FloatAsScalar: Sized {
    // Provided method
    fn splat(scalar: Self) -> Self { ... }
}

Provided Methods§

Source

fn splat(scalar: Self) -> 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 FloatAsScalar for f32

Source§

impl FloatAsScalar for f64

Implementors§