fn lookup(&self, export: &ExportEntry) -> bool {
        self.entries
            .iter()
            .find(|matched_export| {
                export.field() == matched_export.field()
                    && cmp_internal_variant(export.internal(), matched_export.internal())
            })
            .is_some()
    }
/// Looks up a given export entry in the whitelist and returns true if it is valid.
Looks up a given export entry in the whitelist and returns true if it is valid.
Looks up a given export entry in the whitelist and returns true if it is valid .
fn lookup(&self, export: &ExportEntry) -> bool {
        self.entries
            .iter()
            .find(|matched_export| {
                export.field() == matched_export.field()
                    && cmp_internal_variant(export.internal(), matched_export.internal())
            })
            .is_some()
    }
fn lookup ( & self , export : & ExportEntry ) -> bool { self . entries . iter ( ) . find ( | matched_export | { export . field ( ) == matched_export . field ( ) && cmp_internal_variant ( export . internal ( ) , matched_export . internal ( ) ) } ) . is_some ( ) }
Looks up a given export entry in the whitelist and returns true if it is valid.
Looks up a given export entry in the whitelist and returns true if it is valid .
&self
export
&ExportEntry