Home | History | Annotate | Download | only in reflect

Lines Matching defs:Implements

5 // Package reflect implements run-time reflection, allowing a program to
96 // Implements reports whether the type implements the interface type u.
97 Implements(u Type) bool
1476 func (t *rtype) Implements(u Type) bool {
1478 panic("reflect: nil type passed to Type.Implements")
1481 panic("reflect: non-interface type passed to Type.Implements")
1483 return implements(u.(*rtype), t)
1491 return directlyAssignable(uu, t) || implements(uu, t)
1506 // implements reports whether the type V implements the interface type T.
1507 func implements(T, V *rtype) bool {