pub fn ty(&self) -> ExternType {
        match self {
            Extern::Func(ft) => ExternType::Func(ft.ty().clone()),
            Extern::Memory(ft) => ExternType::Memory(ft.ty().clone()),
            Extern::Table(tt) => ExternType::Table(tt.ty().clone()),
            Extern::Global(gt) => ExternType::Global(gt.ty().clone()),
        }
    }
/// Returns the type associated with this `Extern`.
Returns the type associated with this `Extern`.
Returns the type associated with this ` Extern ` .
pub fn ty(&self) -> ExternType {
        match self {
            Extern::Func(ft) => ExternType::Func(ft.ty().clone()),
            Extern::Memory(ft) => ExternType::Memory(ft.ty().clone()),
            Extern::Table(tt) => ExternType::Table(tt.ty().clone()),
            Extern::Global(gt) => ExternType::Global(gt.ty().clone()),
        }
    }
pub fn ty ( & self ) -> ExternType { match self { Extern :: Func ( ft ) => ExternType :: Func ( ft . ty ( ) . clone ( ) ) , Extern :: Memory ( ft ) => ExternType :: Memory ( ft . ty ( ) . clone ( ) ) , Extern :: Table ( tt ) => ExternType :: Table ( tt . ty ( ) . clone ( ) ) , Extern :: Global ( gt ) => ExternType :: Global ( gt . ty ( ) . clone ( ) ) , } }
Returns the type associated with this `Extern`.
Returns the type associated with this ` Extern ` .
&self
&self