_d_interface_cast

private fnvoid * _d_interface_cast(To)(void * p) @trusted

Attempts to cast interface Object o to class type To. Returns o if successful, null if not.