Trait spirv_std::number::Number

source ·
pub trait Number: Scalar { }
Expand description

Abstract trait representing a SPIR-V integer or floating-point type.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Number for f32

source§

impl Number for f64

source§

impl Number for i8

source§

impl Number for i16

source§

impl Number for i32

source§

impl Number for i64

source§

impl Number for u8

source§

impl Number for u16

source§

impl Number for u32

source§

impl Number for u64

Implementors§