mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-21 14:23:32 +00:00
chore: satisfy clippy::empty_docs
This commit is contained in:
parent
b4193d50db
commit
78a208b005
@ -14,7 +14,6 @@ pub struct DiscardRegion<'a> {
|
||||
pub type Resource = ComPtr<d3d12::ID3D12Resource>;
|
||||
|
||||
impl Resource {
|
||||
///
|
||||
pub fn map(
|
||||
&self,
|
||||
subresource: Subresource,
|
||||
|
@ -1273,13 +1273,9 @@ pub enum ImageQuery {
|
||||
#[cfg_attr(feature = "deserialize", derive(Deserialize))]
|
||||
#[cfg_attr(feature = "arbitrary", derive(Arbitrary))]
|
||||
pub enum SwizzleComponent {
|
||||
///
|
||||
X = 0,
|
||||
///
|
||||
Y = 1,
|
||||
///
|
||||
Z = 2,
|
||||
///
|
||||
W = 3,
|
||||
}
|
||||
|
||||
|
@ -5493,9 +5493,9 @@ pub enum TextureDimension {
|
||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||
#[cfg_attr(feature = "serde", serde(rename_all = "camelCase"))]
|
||||
pub struct Origin2d {
|
||||
///
|
||||
#[allow(missing_docs)]
|
||||
pub x: u32,
|
||||
///
|
||||
#[allow(missing_docs)]
|
||||
pub y: u32,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user