To._d_cast
fn
void * _d_cast(To, From)(From o) @trustedHook that detects the type of cast performed and calls the appropriate function.
Parameters
o | object that is being casted |
To | type to which the object is being casted |
Returns
null if the cast fails, otherwise returns the object casted to the type