rusticl: mark the fields of callback structs private
authorLingMan <18294-LingMan@users.noreply.gitlab.freedesktop.org>
Sat, 14 Oct 2023 01:08:29 +0000 (03:08 +0200)
committerMarge Bot <emma+marge@anholt.net>
Sun, 15 Oct 2023 00:17:11 +0000 (00:17 +0000)
commitb10e750199299c3d1e7c5508261926145d2c5ac6
treea85d2862c0dc959f74c1a1ee54d074045c8c1f72
parent503d084d01b595226004f98d8ced82a1d8890e8a
rusticl: mark the fields of callback structs private

These details are supposed to be inaccessbile and were only made pub during the initial
implementation phase.

Add an `#[allow(dead_code)]` marker since the CreateContextCB isn't hooked up yet which would cause
a warning about unused fields otherwise.

Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25669>
src/gallium/frontends/rusticl/api/types.rs