pub struct Bound { pub(super) bind_group: wgpu::BindGroup, pub(super) with: T, } impl std::ops::Deref for Bound { type Target = T; fn deref(&self) -> &Self::Target { &self.with } } impl std::ops::DerefMut for Bound { fn deref_mut(&mut self) -> &mut Self::Target { &mut self.with } }