TData.asDataOf

Soft (memory-safe) cast: Cast contents to another type, and returns an instance with that contents. Constness is preserved. No copying is done.

struct TData(T)
asDataOf
(
U
)
()
if (
is(typeof(this.data.asBytes.as!(U[])) == U[])
)
if (
!hasIndirections!T
)

Meta