Struct gfx_hal::adapter::MemoryType [−][src]
pub struct MemoryType {
pub properties: Properties,
pub heap_index: usize,
}A description for a single type of memory in a heap.
Fields
properties: PropertiesProperties of the associated memory, such as synchronization properties or whether it’s on the CPU or GPU.
heap_index: usizeIndex to the underlying memory heap in Gpu::memory_heaps
Trait Implementations
impl Clone for MemoryType[src]
impl Clone for MemoryType[src]fn clone(&self) -> MemoryType[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for MemoryType[src]
impl Copy for MemoryType[src]impl Eq for MemoryType[src]
impl Eq for MemoryType[src]impl PartialEq<MemoryType> for MemoryType[src]
impl PartialEq<MemoryType> for MemoryType[src]fn eq(&self, other: &MemoryType) -> bool[src]
fn ne(&self, other: &MemoryType) -> bool[src]
impl StructuralEq for MemoryType[src]
impl StructuralEq for MemoryType[src]impl StructuralPartialEq for MemoryType[src]
impl StructuralPartialEq for MemoryType[src]Auto Trait Implementations
impl RefUnwindSafe for MemoryType
impl RefUnwindSafe for MemoryTypeimpl Send for MemoryType
impl Send for MemoryTypeimpl Sync for MemoryType
impl Sync for MemoryTypeimpl Unpin for MemoryType
impl Unpin for MemoryTypeimpl UnwindSafe for MemoryType
impl UnwindSafe for MemoryType