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