Enum vulkano::memory::pool::PotentialDedicatedAllocation [] [src]

pub enum PotentialDedicatedAllocation<A> {
    Generic(A),
    Dedicated(DeviceMemory),
    DedicatedMapped(MappedDeviceMemory),
}

Enumeration that can contain either a generic allocation coming from a pool, or a dedicated allocation for one specific resource.

Variants

Trait Implementations

impl<A: Debug> Debug for PotentialDedicatedAllocation<A>
[src]

[src]

Formats the value using the given formatter.

impl<A> MemoryPoolAlloc for PotentialDedicatedAllocation<A> where
    A: MemoryPoolAlloc
[src]

[src]

Returns the memory object from which this is allocated. Returns None if the memory is not mapped. Read more

[src]

Returns the memory object from which this is allocated.

[src]

Returns the offset at the start of the memory where the first byte of this allocation resides. Read more

impl<A> From<A> for PotentialDedicatedAllocation<A>
[src]

[src]

Performs the conversion.