1mod adapter;
24mod bind_group;
25mod bind_group_layout;
26mod blas;
27mod buffer;
28mod command_buffer;
29mod command_encoder;
30mod common_pipeline;
32mod compute_pass;
33mod compute_pipeline;
34mod device;
35mod instance;
36mod pipeline_cache;
37mod pipeline_layout;
38mod query_set;
39mod queue;
40mod render_bundle;
41mod render_bundle_encoder;
42mod render_pass;
43mod render_pipeline;
44mod sampler;
45mod shader_module;
46mod surface;
47mod surface_texture;
48mod texture;
49mod texture_view;
50mod tlas;
51
52pub use adapter::*;
53pub use bind_group::*;
54pub use bind_group_layout::*;
55pub use blas::*;
56pub use buffer::*;
57pub use command_buffer::*;
58pub use command_encoder::*;
59pub use common_pipeline::*;
60pub use compute_pass::*;
61pub use compute_pipeline::*;
62pub use device::*;
63pub use instance::*;
64pub use pipeline_cache::*;
65pub use pipeline_layout::*;
66pub use query_set::*;
67pub use queue::*;
68pub use render_bundle::*;
69pub use render_bundle_encoder::*;
70pub use render_pass::*;
71pub use render_pipeline::*;
72pub use sampler::*;
73pub use shader_module::*;
74pub use surface::*;
75pub use surface_texture::*;
76pub use texture::*;
77pub use texture_view::*;
78pub use tlas::*;
79
80pub type Label<'a> = Option<&'a str>;
82
83#[derive(Debug)]
88pub(crate) struct PhantomDrop<T>(std::marker::PhantomData<T>);
89
90impl<T> Default for PhantomDrop<T> {
91 fn default() -> Self {
92 Self(std::marker::PhantomData)
93 }
94}
95
96impl<T> Drop for PhantomDrop<T> {
97 fn drop(&mut self) {}
98}