Struct gfx_hal::adapter::MemoryProperties
source · pub struct MemoryProperties {
pub memory_types: Vec<MemoryType>,
pub memory_heaps: Vec<u64>,
}
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<u64>
Memory heaps with their size in bytes.
Trait Implementations
sourceimpl Clone for MemoryProperties
impl Clone for MemoryProperties
sourcefn clone(&self) -> MemoryProperties
fn clone(&self) -> MemoryProperties
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MemoryProperties
impl Debug for MemoryProperties
sourceimpl PartialEq<MemoryProperties> for MemoryProperties
impl PartialEq<MemoryProperties> for MemoryProperties
sourcefn eq(&self, other: &MemoryProperties) -> bool
fn eq(&self, other: &MemoryProperties) -> bool
impl Eq for MemoryProperties
impl StructuralEq for MemoryProperties
impl StructuralPartialEq for MemoryProperties
Auto Trait Implementations
impl RefUnwindSafe for MemoryProperties
impl Send for MemoryProperties
impl Sync for MemoryProperties
impl Unpin for MemoryProperties
impl UnwindSafe for MemoryProperties
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more