Trait abi_stable::inline_storage::AlignerFor

source ·
pub trait AlignerFor<const ALIGNMENT: usize>: Sized {
    type Aligner;
}
Expand description

For getting the AlignTo* type which aligns Self to ALIGNMENT.

Required Associated Types§

source

type Aligner

The AlignTo* type which aligns Self to ALIGNMENT.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> AlignerFor<1> for T

source§

impl<T> AlignerFor<2> for T

source§

impl<T> AlignerFor<4> for T

source§

impl<T> AlignerFor<8> for T

source§

impl<T> AlignerFor<16> for T

source§

impl<T> AlignerFor<32> for T

source§

impl<T> AlignerFor<64> for T

source§

impl<T> AlignerFor<128> for T

source§

impl<T> AlignerFor<256> for T

source§

impl<T> AlignerFor<512> for T

source§

impl<T> AlignerFor<1024> for T

source§

impl<T> AlignerFor<2048> for T

source§

impl<T> AlignerFor<4096> for T

source§

impl<T> AlignerFor<8192> for T

source§

impl<T> AlignerFor<16384> for T

source§

impl<T> AlignerFor<32768> for T