Trait UnsignedInteger

Source
pub unsafe trait UnsignedInteger: Unsigned + Integer { }
Expand description

Abstract trait representing any SPIR-V unsigned integer type.

§Safety

Implementing this trait on non-unsigned-integer types breaks assumptions of other unsafe code, and should not be done.

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 UnsignedInteger for u8

Source§

impl UnsignedInteger for u16

Source§

impl UnsignedInteger for u32

Source§

impl UnsignedInteger for u64

Implementors§