1use super::*;
2
3impl std::fmt::Debug for InterfaceImpl {
4 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
5 f.debug_tuple(name:"InterfaceImpl").field(&self.0).finish()
6 }
7}
8
9impl InterfaceImpl {
10 pub fn ty(&self, generics: &[Type]) -> Type {
11 Type::from_ref(self.decode(1), enclosing:None, generics)
12 }
13}
14