pub fn all_resources_by_ident(&self, ident: &StructIdent) -> Vec<BaseValue> {
        let mut resources = vec![];
        for v1 in self.saved_memory.values() {
            match v1.get(ident) {
                None => (),
                Some(v2) => {
                    for v3 in v2.values() {
                        resources.extend(v3.values().cloned());
                    }
                }
            }
        }
        resources
    }
/// Return all resources with identity matching
Return all resources with identity matching
Return all resources with identity matching
pub fn all_resources_by_ident(&self, ident: &StructIdent) -> Vec<BaseValue> {
        let mut resources = vec![];
        for v1 in self.saved_memory.values() {
            match v1.get(ident) {
                None => (),
                Some(v2) => {
                    for v3 in v2.values() {
                        resources.extend(v3.values().cloned());
                    }
                }
            }
        }
        resources
    }
pub fn all_resources_by_ident ( & self , ident : & StructIdent ) -> Vec < BaseValue > { let mut resources = vec ! [ ] ; for v1 in self . saved_memory . values ( ) { match v1 . get ( ident ) { None => ( ) , Some ( v2 ) => { for v3 in v2 . values ( ) { resources . extend ( v3 . values ( ) . cloned ( ) ) ; } } } } resources }
Return all resources with identity matching
Return all resources with identity matching
&self
ident
&StructIdent