rune::core::object::tagged

Trait Untag

Source
pub(crate) trait Untag<T> {
    // Required method
    fn untag_erased(self) -> T;
}
Expand description

The TaggedPtr trait is local to this module (by design). This trait exports the one pubic method we want (untag) so it can be used in other modules.

Required Methods§

Source

fn untag_erased(self) -> T

Implementors§

Source§

impl<T: TaggedPtr> Untag<T> for Gc<T>