Struct efficient_enum::tag::TagWrapper [] [src]

pub struct TagWrapper<V: ?Sized, TM>(_, pub V);

A struct for wrapping tagged values to prevent accidentally calling

Trait Implementations

impl<TM, V: Clone> Clone for TagWrapper<V, TM>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<TM, V: Copy> Copy for TagWrapper<V, TM>
[src]

impl<TM, V: Debug> Debug for TagWrapper<V, TM>
[src]

Formats the value using the given formatter.

impl<TM, V: Hash> Hash for TagWrapper<V, TM>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more