refactor: satisfy missing_docs,clippy::empty_docs

This commit is contained in:
Erich Gubler 2024-07-04 19:03:42 -06:00
parent d41b9ab29f
commit 00a32ca2ad

View File

@ -98,34 +98,22 @@ impl std::fmt::Debug for InternalCounter {
} }
/// `wgpu-hal`'s internal counters. /// `wgpu-hal`'s internal counters.
#[allow(missing_docs)]
#[derive(Clone, Default)] #[derive(Clone, Default)]
pub struct HalCounters { pub struct HalCounters {
// API objects // API objects
///
pub buffers: InternalCounter, pub buffers: InternalCounter,
///
pub textures: InternalCounter, pub textures: InternalCounter,
///
pub texture_views: InternalCounter, pub texture_views: InternalCounter,
///
pub bind_groups: InternalCounter, pub bind_groups: InternalCounter,
///
pub bind_group_layouts: InternalCounter, pub bind_group_layouts: InternalCounter,
///
pub render_pipelines: InternalCounter, pub render_pipelines: InternalCounter,
///
pub compute_pipelines: InternalCounter, pub compute_pipelines: InternalCounter,
///
pub pipeline_layouts: InternalCounter, pub pipeline_layouts: InternalCounter,
///
pub samplers: InternalCounter, pub samplers: InternalCounter,
///
pub command_encoders: InternalCounter, pub command_encoders: InternalCounter,
///
pub shader_modules: InternalCounter, pub shader_modules: InternalCounter,
///
pub query_sets: InternalCounter, pub query_sets: InternalCounter,
///
pub fences: InternalCounter, pub fences: InternalCounter,
// Resources // Resources