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