Module metaclass_constraint

Traitsยง

ConcreteObjectConstraint
Used for statically marking all non-virtual classes which derive from Object. Provides a way of creating default instances of a given class.
MetaclassConstraint
Used for statically marking all classes which provide type inspection through Metaclass. Provides a way of getting a static metaclass of a given type.
ObjectConstraint
Used for statically marking all classes which derive from Object. Provides a way for downcasting objects to more specific types.