Structs§
- Optional type which uses
NichedOptionULE<U,N>
as ULE type. The implementors guarantee thatN == core::mem::sizeo_of::<Self>()
[repr(transparent)
] guarantees that the layout is same asOption<U>
Traits§
- The
ULE
types implementing this trait guarantee thatNicheBytes::NICHE_BIT_PATTERN
can never occur as a valid byte representation of the type.
Unions§
ULE
type forNichedOption<U,N>
where U implementsNicheBytes
. The invalid bit pattern is used as the niche.