pub struct MemoryProperties {
pub memory_types: Vec<MemoryType>,
pub memory_heaps: Vec<MemoryHeap>,
}
Expand description
Types of memory supported by this adapter and available memory.
Fields§
§memory_types: Vec<MemoryType>
Each memory type is associated with one heap of memory_heaps
.
Multiple types can point to the same heap.
memory_heaps: Vec<MemoryHeap>
Memory heaps with their size in bytes.
Trait Implementations§
Source§impl Clone for MemoryProperties
impl Clone for MemoryProperties
Source§fn clone(&self) -> MemoryProperties
fn clone(&self) -> MemoryProperties
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MemoryProperties
impl Debug for MemoryProperties
Source§impl PartialEq for MemoryProperties
impl PartialEq for MemoryProperties
impl Eq for MemoryProperties
impl StructuralPartialEq for MemoryProperties
Auto Trait Implementations§
impl Freeze for MemoryProperties
impl RefUnwindSafe for MemoryProperties
impl Send for MemoryProperties
impl Sync for MemoryProperties
impl Unpin for MemoryProperties
impl UnwindSafe for MemoryProperties
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more