Skip to main content

AtomicI8

Type Alias AtomicI8 

1.34.0 · Source
pub type AtomicI8 = Atomic<i8>;
Expand description

An integer type which can be safely shared between threads.

This type has the same size, alignment, and bit validity as the underlying integer type, i8.

For more about the differences between atomic types and non-atomic types as well as information about the portability of this type, please see the module-level documentation.

Note: This type is only available on platforms that support atomic loads and stores of i8.

Aliased Type§

pub struct AtomicI8 { /* private fields */ }

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 1 byte