pub unsafe trait SupportedAlignment: Sealed { }
Expand description

Statically guarantees that an alignment is supported

This trait is sealed: the list of implementors below is total. Users to not have the ability to mark additional Alignment<N> values as supported. Only alignments supported by rustc/LLVM are constructable, i.e. powers of two from 1 to 2^29.

Implementors§

source§

impl SupportedAlignment for Alignment<1>

source§

impl SupportedAlignment for Alignment<2>

source§

impl SupportedAlignment for Alignment<4>

source§

impl SupportedAlignment for Alignment<8>

source§

impl SupportedAlignment for Alignment<16>

source§

impl SupportedAlignment for Alignment<32>

source§

impl SupportedAlignment for Alignment<64>

source§

impl SupportedAlignment for Alignment<128>

source§

impl SupportedAlignment for Alignment<256>

source§

impl SupportedAlignment for Alignment<512>

source§

impl SupportedAlignment for Alignment<1024>

source§

impl SupportedAlignment for Alignment<2048>

source§

impl SupportedAlignment for Alignment<4096>

source§

impl SupportedAlignment for Alignment<8192>

source§

impl SupportedAlignment for Alignment<16384>

source§

impl SupportedAlignment for Alignment<32768>

source§

impl SupportedAlignment for Alignment<65536>

source§

impl SupportedAlignment for Alignment<131072>

source§

impl SupportedAlignment for Alignment<262144>

source§

impl SupportedAlignment for Alignment<524288>

source§

impl SupportedAlignment for Alignment<1048576>

source§

impl SupportedAlignment for Alignment<2097152>

source§

impl SupportedAlignment for Alignment<4194304>

source§

impl SupportedAlignment for Alignment<8388608>

source§

impl SupportedAlignment for Alignment<16777216>

source§

impl SupportedAlignment for Alignment<33554432>

source§

impl SupportedAlignment for Alignment<67108864>

source§

impl SupportedAlignment for Alignment<134217728>

source§

impl SupportedAlignment for Alignment<268435456>

source§

impl SupportedAlignment for Alignment<536870912>