#![cfg(send_sync)]
#![allow(clippy::type_complexity, clippy::explicit_auto_deref)]
#[rustfmt::skip]
struct Tower<T: ?Sized>(
Box<Box<Box<Box<Box<Box<Box<Box<Box<Box<
Box<Box<Box<Box<Box<Box<Box<Box<Box<Box<
Box<Box<Box<Box<Box<Box<Box<Box<Box<Box<
Box<Box<Box<Box<Box<Box<Box<Box<Box<Box<
Box<Box<Box<Box<Box<Box<Box<Box<Box<Box<
T
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
);
impl<T: ?Sized> core::ops::Deref for Tower<T> {
type Target = T;
fn deref(&self) -> &Self::Target {
&**************************************************self.0
}
}
const fn assert_send_sync_is_cheap<T>()
where
Tower<T>: Send,
Tower<T>: Sync,
{
}
const _: () = {
assert_send_sync_is_cheap::<wgpu::Adapter>();
assert_send_sync_is_cheap::<wgpu::BindGroup>();
assert_send_sync_is_cheap::<wgpu::BindGroupLayout>();
assert_send_sync_is_cheap::<wgpu::Blas>();
assert_send_sync_is_cheap::<wgpu::Buffer>();
assert_send_sync_is_cheap::<wgpu::BufferView>();
assert_send_sync_is_cheap::<wgpu::BufferViewMut>();
assert_send_sync_is_cheap::<wgpu::CommandBuffer>();
assert_send_sync_is_cheap::<wgpu::CommandEncoder>();
assert_send_sync_is_cheap::<wgpu::CompilationInfo>();
assert_send_sync_is_cheap::<wgpu::ComputePass>();
assert_send_sync_is_cheap::<wgpu::ComputePipeline>();
assert_send_sync_is_cheap::<wgpu::Device>();
assert_send_sync_is_cheap::<wgpu::Error>();
assert_send_sync_is_cheap::<wgpu::ExternalTexture>();
assert_send_sync_is_cheap::<wgpu::Features>();
assert_send_sync_is_cheap::<wgpu::Instance>();
assert_send_sync_is_cheap::<wgpu::Limits>();
assert_send_sync_is_cheap::<wgpu::PipelineCache>();
assert_send_sync_is_cheap::<wgpu::PipelineLayout>();
assert_send_sync_is_cheap::<wgpu::QuerySet>();
assert_send_sync_is_cheap::<wgpu::Queue>();
assert_send_sync_is_cheap::<wgpu::QueueWriteBufferView>();
assert_send_sync_is_cheap::<wgpu::RenderBundle>();
assert_send_sync_is_cheap::<wgpu::RenderPass>();
assert_send_sync_is_cheap::<wgpu::RenderPipeline>();
assert_send_sync_is_cheap::<wgpu::Sampler>();
assert_send_sync_is_cheap::<wgpu::ShaderModule>();
assert_send_sync_is_cheap::<wgpu::Surface>();
assert_send_sync_is_cheap::<wgpu::SurfaceTexture>();
assert_send_sync_is_cheap::<wgpu::Texture>();
assert_send_sync_is_cheap::<wgpu::TextureView>();
assert_send_sync_is_cheap::<wgpu::Tlas>();
};