mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-25 08:14:20 +00:00
Make BufferUsage
derive PartialEq
and Eq
(#1164)
This commit is contained in:
parent
a3d503a5e5
commit
5893dad066
@ -3,6 +3,7 @@
|
||||
- Add support for `#include "..."` and `#include <...>` directives within source
|
||||
files.
|
||||
- Add a `union` method for the extensions types.
|
||||
- Make `BufferUsage` derive `PartialEq` and `Eq`
|
||||
|
||||
# Version 0.11.1 (2018-11-16)
|
||||
|
||||
|
@ -16,7 +16,7 @@ use vk;
|
||||
///
|
||||
/// Some methods are provided to build `BufferUsage` structs for some common situations. However
|
||||
/// there is no restriction in the combination of BufferUsages that can be enabled.
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
||||
pub struct BufferUsage {
|
||||
pub transfer_source: bool,
|
||||
pub transfer_destination: bool,
|
||||
|
Loading…
Reference in New Issue
Block a user