Trait ZeroableOption

Source
pub unsafe trait ZeroableOption { }
Expand description

Marker trait for types that allow Option<Self> to be set to all zeroes in order to write None to that location.

§Safety

The implementer needs to ensure that unsafe impl Zeroable for Option<Self> {} is sound.

Implementations on Foreign Types§

Source§

impl<T> ZeroableOption for Box<T>

Implementors§