pub fn func(&self) -> Option<&Func> {
        match self {
            Extern::Func(func) => Some(func),
            _ => None,
        }
    }
/// Returns the underlying `Func`, if this external is a function.
///
/// Returns `None` if this is not a function.
Returns the underlying `Func`, if this external is a function.
Returns `None` if this is not a function.
Returns the underlying ` Func ` if this external is a function . Returns ` None ` if this is not a function .
pub fn func(&self) -> Option<&Func> {
        match self {
            Extern::Func(func) => Some(func),
            _ => None,
        }
    }
pub fn func ( & self ) -> Option < & Func > { match self { Extern :: Func ( func ) => Some ( func ) , _ => None , } }
Returns the underlying `Func`, if this external is a function.
Returns the underlying ` Func ` if this external is a function .
&self
&self