Skip to content

Commit

Permalink
Missed trait impls
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0246 committed Aug 23, 2023
1 parent f40cc2b commit b176e8d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions vulkano/src/memory/device_memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1499,13 +1499,24 @@ vulkan_bitflags! {
}

/// Parameters of a memory unmap operation.
#[derive(Debug)]
pub struct MemoryUnmapInfo {
/// Additional properties of the unmapping.
pub flags: MemoryUnmapFlags,

pub _ne: crate::NonExhaustive,
}

impl Default for MemoryUnmapInfo {
#[inline]
fn default() -> Self {
MemoryUnmapInfo {
flags: MemoryUnmapFlags::empty(),
_ne: crate::NonExhaustive(()),
}
}
}

vulkan_bitflags! {
#[non_exhaustive]

Expand Down

0 comments on commit b176e8d

Please sign in to comment.