Trait UntaggedZero

Source
pub unsafe trait UntaggedZero<TM, Count: TagOptions>: TaggableValue<TM, Count> { }
Expand description

A marker trait guarantees that untag_in_place is a no-op for items tagged with Option0 Items tagged with Option0 should be able to be directly accessed as if they were not tagged in any way.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl UntaggedZero<TagMSB, Two> for u8

Source§

impl UntaggedZero<TagMSB, Two> for u16

Source§

impl UntaggedZero<TagMSB, Two> for u32

Source§

impl UntaggedZero<TagMSB, Two> for u64

Source§

impl UntaggedZero<TagMSB, Two> for usize

Implementors§