Struct dacite::core::MemoryType
[−]
[src]
pub struct MemoryType { pub property_flags: MemoryPropertyFlags, pub heap_index: u32, }
See VkMemoryType
Fields
property_flags: MemoryPropertyFlags
heap_index: u32
Trait Implementations
impl Debug for MemoryType
[src]
impl Copy for MemoryType
[src]
impl Clone for MemoryType
[src]
fn clone(&self) -> MemoryType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for MemoryType
[src]
fn eq(&self, __arg_0: &MemoryType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MemoryType) -> bool
This method tests for !=
.
impl Eq for MemoryType
[src]
impl Hash for MemoryType
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<'a> From<&'a VkMemoryType> for MemoryType
[src]
fn from(memory_type: &'a VkMemoryType) -> Self
Performs the conversion.