Skip to main content

IntAsScalar

Trait IntAsScalar 

Source
pub trait IntAsScalar: 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 IntAsScalar for u32

Source§

impl IntAsScalar for u64

Implementors§