Is there a way to align data on a cache line boundary?

Because @HadrienG is to polite to advertise it himself, the "first crate" is triple buffer, discussed here on this forum.