CallbackDestructor

Use callback stored in annotation to destroy a component of type T

  1. struct CallbackDestructor(T, Dg : void delegate(RCIAllocator, ref T destructable, Args), Args...)
    @safe
    struct CallbackDestructor (
    T
    Dg : void delegate
    (
    RCIAllocator
    ,,
    Args
    )
    Args...
    ) {}
  2. CallbackDestructor callbackDestructor(Dg dg, Args args)

Members

Variables

args
Args args;

Arguments passed to callback to destroy the component

dg
Dg dg;

Callback used to destroy the component

Meta