Trait SignedInteger

Source
pub unsafe trait SignedInteger: Signed + Integer { }
Expand description

Abstract trait representing any SPIR-V signed integer type.

§Safety

Implementing this trait on non-signed-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 SignedInteger for i8

Source§

impl SignedInteger for i16

Source§

impl SignedInteger for i32

Source§

impl SignedInteger for i64

Implementors§