fn class(&self, class: &DirectName, pos: &Position) -> Result<Class, Vec<TypeErr>> {
        if let Some(generic_class) = self.classes.iter().find(|c| &c.name == class) {
            let generics = HashMap::new();
            Class::try_from((generic_class, &generics, pos))
        } else {
            let msg = format!("Class {} is undefined.", class);
            Err(vec![TypeErr::new(pos, &msg)])
        }
    }
/// Look up union of GenericClass and substitute generics to yield set of
/// Classes.
Look up union of GenericClass and substitute generics to yield set of
Classes.
Look up union of GenericClass and substitute generics to yield set of Classes .
fn class(&self, class: &DirectName, pos: &Position) -> Result<Class, Vec<TypeErr>> {
        if let Some(generic_class) = self.classes.iter().find(|c| &c.name == class) {
            let generics = HashMap::new();
            Class::try_from((generic_class, &generics, pos))
        } else {
            let msg = format!("Class {} is undefined.", class);
            Err(vec![TypeErr::new(pos, &msg)])
        }
    }
fn class ( & self , class : & DirectName , pos : & Position ) -> Result < Class , Vec < TypeErr > > { if let Some ( generic_class ) = self . classes . iter ( ) . find ( | c | & c . name == class ) { let generics = HashMap :: new ( ) ; Class :: try_from ( ( generic_class , & generics , pos ) ) } else { let msg = format ! ( " " class ) ; Err ( vec ! [ TypeErr new ( pos msg ) ] ) } }
Look up union of GenericClass and substitute generics to yield set of
Classes.
Look up union of GenericClass and substitute generics to yield set of Classes .
&self
class
&DirectName
pos
&Position