constructor

Annotation used to mark a constructor to be used for component instantiation.

  1. struct ConstructorAnnotation(Args...)
  2. auto constructor(Args args)
    @safe
    constructor
    (
    Args...
    )
    (
    Args args
    )

Parameters

Args

tuple of argument types for arguments to be passed into a constructor.

Meta