Constructible

Constructible<T>(Dynamic)

package haxe

import haxe.Constraints

Available on all platforms

This type unifies with any instance of classes that have a constructor which

* is public and
* unifies with the type used for type parameter `T`.

If a type parameter A is assigned to a type parameter B which is constrained to Constructible<T>, A must be explicitly constrained to Constructible<T> as well.

It is intended to be used as a type parameter constraint. If used as a real type, the underlying type will be Dynamic.

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/haxe/Constructible.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部