pub fn load_memory(
        &self,
        label: &MemoryLabel,
        inst: &StructInstantiation,
        addr: &AccountAddress,
    ) -> Option<BaseValue> {
        self.saved_memory
            .get(label)
            .and_then(|sub| sub.get(&inst.ident))
            .and_then(|sub| sub.get(inst))
            .and_then(|sub| sub.get(addr))
            .cloned()
    }
/// Load a resource with given instantiation type from the specified address, saved by the
/// given memory label.
Load a resource with given instantiation type from the specified address, saved by the
given memory label.
Load a resource with given instantiation type from the specified address saved by the given memory label .
pub fn load_memory(
        &self,
        label: &MemoryLabel,
        inst: &StructInstantiation,
        addr: &AccountAddress,
    ) -> Option<BaseValue> {
        self.saved_memory
            .get(label)
            .and_then(|sub| sub.get(&inst.ident))
            .and_then(|sub| sub.get(inst))
            .and_then(|sub| sub.get(addr))
            .cloned()
    }
pub fn load_memory ( & self , label : & MemoryLabel , inst : & StructInstantiation , addr : & AccountAddress , ) -> Option < BaseValue > { self . saved_memory . get ( label ) . and_then ( | sub | sub . get ( & inst . ident ) ) . and_then ( | sub | sub . get ( inst ) ) . and_then ( | sub | sub . get ( addr ) ) . cloned ( ) }
Load a resource with given instantiation type from the specified address, saved by the
given memory label.
Load a resource with given instantiation type from the specified address saved by the given memory label .
&self
label
&MemoryLabel
inst
&StructInstantiation
addr
&AccountAddress