unsafe fn into_table_value(self) -> usize {
        match self {
            Self::UninitFunc => 0,
            Self::FuncRef(e) => (e as usize) | FUNCREF_INIT_BIT,
            Self::ExternRef(e) => e.map_or(0, |e| e.into_raw() as usize),
        }
    }
/// Consumes a table element into a raw table element value. This
/// includes any tag bits or other storage details that we
/// maintain in the table slot.
///
/// # Safety
///
/// This is unsafe as it will consume any underlying externref into a raw pointer without modifying
/// the reference count.
///
/// Use `from_raw` to properly drop any table elements stored as raw pointers.
Consumes a table element into a raw table element value. This
includes any tag bits or other storage details that we
maintain in the table slot.
Consumes a table element into a raw table element value . This includes any tag bits or other storage details that we maintain in the table slot .
unsafe fn into_table_value(self) -> usize {
        match self {
            Self::UninitFunc => 0,
            Self::FuncRef(e) => (e as usize) | FUNCREF_INIT_BIT,
            Self::ExternRef(e) => e.map_or(0, |e| e.into_raw() as usize),
        }
    }
unsafe fn into_table_value ( self ) -> usize { match self { Self :: UninitFunc => 0 , Self :: FuncRef ( e ) => ( e as usize ) | FUNCREF_INIT_BIT , Self :: ExternRef ( e ) => e . map_or ( 0 , | e | e . into_raw ( ) as usize ) , } }
Consumes a table element into a raw table element value.
Consumes a table element into a raw table element value .
self
self
safety
This is unsafe as it will consume any underlying externref into a raw pointer without modifying
the reference count.

Use `from_raw` to properly drop any table elements stored as raw pointers.
This is unsafe as it will consume any underlying externref into a raw pointer without modifying the reference count . Use ` from_raw ` to properly drop any table elements stored as raw pointers .