/controlled-option

Custom Option type with explicit control over niches and memory layout

Primary LanguageRustApache License 2.0Apache-2.0

controlled-option

This crate provides a custom implementation of the standard Option, where you have explicit control over how the None variant is laid out in memory.