Function implements

Check if given type (T) corresponds to given signature (I)

bool implements(T, I)();

Description

Returns true if struct T has the same members and methods as struct I. This allows to use structs as static interfaces in generic code.