mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-25 00:04:11 +00:00
Update number documentation
Co-authored-by: Eduard-Mihai Burtescu <edy.burt@gmail.com>
This commit is contained in:
parent
7d7f2fe5a6
commit
f69d94ed27
@ -1,6 +1,6 @@
|
||||
//! Traits and helper functions related to numbers.
|
||||
|
||||
/// Abstract trait representing a SPIR-V integer type.
|
||||
/// Abstract trait representing a SPIR-V integer or floating-point type.
|
||||
pub trait Number: crate::scalar::Scalar {}
|
||||
|
||||
impl Number for u8 {}
|
||||
|
Loading…
Reference in New Issue
Block a user