pub trait TaggableContainer {
type Inner;
// Required method
fn into_inner(self) -> Self::Inner;
}Expand description
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.
Required Associated Types§
Required Methods§
Sourcefn into_inner(self) -> Self::Inner
fn into_inner(self) -> Self::Inner
Takes an instance of a TaggableContainer and converts it into the enum variant stored within