repr_offset::alignment

Trait CombineAlignment

Source
pub trait CombineAlignment<Rhs: Alignment> {
    type Output: Alignment;
}
Expand description

Trait that combines two Alignment types, determines the return type of FieldOffset + FieldOffset.

Required Associated Types§

Source

type Output: Alignment

This is Aligned if both Self and the Rhs parameter are Aligned, otherwise it is Unaligned.

Implementations on Foreign Types§

Source§

impl<A: Alignment, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, CombTuples> CombineAlignment<A> for (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11)

Source§

type Output = CombTuples

Source§

impl<A: Alignment, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, CombTuples> CombineAlignment<A> for (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)

Source§

type Output = CombTuples

Source§

impl<A: Alignment, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, CombTuples> CombineAlignment<A> for (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9)

Source§

type Output = CombTuples

Source§

impl<A: Alignment, A0, A1, A2, A3, A4, A5, A6, A7, A8, CombTuples> CombineAlignment<A> for (A0, A1, A2, A3, A4, A5, A6, A7, A8)

Source§

type Output = CombTuples

Source§

impl<A: Alignment, A0, A1, A2, A3, A4, A5, A6, A7, CombTuples> CombineAlignment<A> for (A0, A1, A2, A3, A4, A5, A6, A7)

Source§

type Output = CombTuples

Source§

impl<A: Alignment, A0, A1, A2, A3, A4, A5, A6, CombTuples> CombineAlignment<A> for (A0, A1, A2, A3, A4, A5, A6)

Source§

type Output = CombTuples

Source§

impl<A: Alignment, A0, A1, A2, A3, A4, A5, CombTuples> CombineAlignment<A> for (A0, A1, A2, A3, A4, A5)

Source§

type Output = CombTuples

Source§

impl<A: Alignment, A0, A1, A2, A3, A4, CombTuples> CombineAlignment<A> for (A0, A1, A2, A3, A4)

Source§

type Output = CombTuples

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Aligned, Aligned)

Source§

type Output = Carry

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Aligned, Aligned, Aligned)

Source§

type Output = Carry

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Aligned, Aligned, Aligned, Aligned)

Source§

type Output = Carry

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Aligned, Aligned, Aligned, Unaligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Aligned, Aligned, Unaligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Aligned, Aligned, Unaligned, Aligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Aligned, Aligned, Unaligned, Unaligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Aligned, Unaligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Aligned, Unaligned, Aligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Aligned, Unaligned, Aligned, Aligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Aligned, Unaligned, Aligned, Unaligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Aligned, Unaligned, Unaligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Aligned, Unaligned, Unaligned, Aligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Aligned, Unaligned, Unaligned, Unaligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Aligned,)

Source§

type Output = Carry

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Unaligned, Aligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Unaligned, Aligned, Aligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Unaligned, Aligned, Aligned, Aligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Unaligned, Aligned, Aligned, Unaligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Unaligned, Aligned, Unaligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Unaligned, Aligned, Unaligned, Aligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Unaligned, Aligned, Unaligned, Unaligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Unaligned, Unaligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Unaligned, Unaligned, Aligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Unaligned, Unaligned, Aligned, Aligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Unaligned, Unaligned, Aligned, Unaligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Unaligned, Unaligned, Unaligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Unaligned, Unaligned, Unaligned, Aligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Unaligned, Unaligned, Unaligned, Unaligned)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for (Unaligned,)

Source§

impl<Carry: Alignment> CombineAlignment<Carry> for ()

Source§

type Output = Carry

Implementors§