[−][src]Trait tagged_box::TaggableContainer
A helper trait for containers that hold a TaggedBox
associated with a specific enum.
Using this directly is not recommended, as tagged_box!
should be used instead.
If you want to implement this yourself, see manually implementing a tagged enum
.
Associated Types
type Inner
The type of the enum that the container can be safely made into
Required methods
fn into_inner(self) -> Self::Inner
Takes an instance of a TaggableContainer
and converts it into the enum variant stored within