/// Consumes a table element into a pointer/reference, as it
/// exists outside the table itself. This strips off any tag bits
/// or other information that only lives inside the table.
///
/// Can only be done to an initialized table element; lazy init
/// must occur first. (In other words, lazy values do not survive
/// beyond the table, as every table read path initializes them.)
///
/// # Safety
///
/// The same warnings as for `into_table_values()` apply.
Consumes a table element into a pointer/reference, as it
exists outside the table itself. This strips off any tag bits
or other information that only lives inside the table.

Can only be done to an initialized table element; lazy init
must occur first. (In other words, lazy values do not survive
beyond the table, as every table read path initializes them.)
Consumes a table element into a pointer / reference as it exists outside the table itself . This strips off any tag bits or other information that only lives inside the table . Can only be done to an initialized table element ; lazy init must occur first . ( In other words lazy values do not survive beyond the table as every table read path initializes them . )
pub(crate) unsafe fn into_ref_asserting_initialized(self) -> usize {
        match self {
            Self::FuncRef(e) => (e as usize),
            Self::ExternRef(e) => e.map_or(0, |e| e.into_raw() as usize),
            Self::UninitFunc => panic!("Uninitialized table element value outside of table slot"),
        }
    }
pub ( crate ) unsafe fn into_ref_asserting_initialized ( self ) -> usize { match self { Self :: FuncRef ( e ) => ( e as usize ) , Self :: ExternRef ( e ) => e . map_or ( 0 , | e | e . into_raw ( ) as usize ) , Self :: UninitFunc => panic ! ( " " ) , } }
Consumes a table element into a pointer/reference, as it
exists outside the table itself.
Consumes a table element into a pointer / reference as it exists outside the table itself .
self
safety
The same warnings as for `into_table_values()` apply.
The same warnings as for ` into_table_values () ` apply .