Casting a struct to a static array is shown in issue 6092 and issue 24866, but it doesn't appear in the spec: https://dlang.org/spec/expression.html#cast_expressions PR incoming.
@ntrel created dlang/dlang.org pull request #3926 "Fix Bugzilla Issue 24868 - Undocumented cast from struct to static array" fixing this issue: - Fix Bugzilla Issue 24868 - Undocumented cast from struct to static array https://github.com/dlang/dlang.org/pull/3926
dlang/dlang.org pull request #3926 "Fix Bugzilla Issue 24868 - Undocumented cast from struct to static array" was merged into master: - e2c1601e6b10b5129a42056b7d448291dcec34c1 by Nick Treleaven: Fix Bugzilla Issue 24868 - Undocumented cast from struct to static array https://github.com/dlang/dlang.org/pull/3926