[][src]Trait repr_offset::CombinePacking

pub trait CombinePacking<Rhs: Alignment>: Alignment {
    type Output: Alignment;
}

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

Associated Types

type Output: Alignment

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

Loading content...

Implementors

impl<A: Alignment> CombinePacking<A> for Aligned[src]

type Output = A

impl<A: Alignment> CombinePacking<A> for Unaligned[src]

Loading content...