mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 00:03:29 +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>;
|
pub type Resource = ComPtr<d3d12::ID3D12Resource>;
|
||||||
|
|
||||||
impl Resource {
|
impl Resource {
|
||||||
///
|
|
||||||
pub fn map(
|
pub fn map(
|
||||||
&self,
|
&self,
|
||||||
subresource: Subresource,
|
subresource: Subresource,
|
||||||
|
@ -1273,13 +1273,9 @@ pub enum ImageQuery {
|
|||||||
#[cfg_attr(feature = "deserialize", derive(Deserialize))]
|
#[cfg_attr(feature = "deserialize", derive(Deserialize))]
|
||||||
#[cfg_attr(feature = "arbitrary", derive(Arbitrary))]
|
#[cfg_attr(feature = "arbitrary", derive(Arbitrary))]
|
||||||
pub enum SwizzleComponent {
|
pub enum SwizzleComponent {
|
||||||
///
|
|
||||||
X = 0,
|
X = 0,
|
||||||
///
|
|
||||||
Y = 1,
|
Y = 1,
|
||||||
///
|
|
||||||
Z = 2,
|
Z = 2,
|
||||||
///
|
|
||||||
W = 3,
|
W = 3,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5493,9 +5493,9 @@ pub enum TextureDimension {
|
|||||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||||
#[cfg_attr(feature = "serde", serde(rename_all = "camelCase"))]
|
#[cfg_attr(feature = "serde", serde(rename_all = "camelCase"))]
|
||||||
pub struct Origin2d {
|
pub struct Origin2d {
|
||||||
///
|
#[allow(missing_docs)]
|
||||||
pub x: u32,
|
pub x: u32,
|
||||||
///
|
#[allow(missing_docs)]
|
||||||
pub y: u32,
|
pub y: u32,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user