rkyv::niche::niching

Trait SharedNiching

Source
pub unsafe trait SharedNiching<N1, N2> { }
Expand description

Trait to allow NichedOption<Self, N1> to be niched further by N2.

§Safety

Implementors must ensure that the memory regions within Self that are used for Niching impls of N1 and N2 are mutually exclusive.

Implementors§