Enum vulkano::memory::pool::PotentialDedicatedAllocation [−][src]
pub enum PotentialDedicatedAllocation<A> {
Generic(A),
Dedicated(DeviceMemory),
DedicatedMapped(MappedDeviceMemory),
}
Expand description
Enumeration that can contain either a generic allocation coming from a pool, or a dedicated allocation for one specific resource.
Variants
Dedicated(DeviceMemory)
Tuple Fields of Dedicated
0: DeviceMemory
DedicatedMapped(MappedDeviceMemory)
Tuple Fields of DedicatedMapped
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl<A> RefUnwindSafe for PotentialDedicatedAllocation<A> where
A: RefUnwindSafe,
impl<A> Send for PotentialDedicatedAllocation<A> where
A: Send,
impl<A> Sync for PotentialDedicatedAllocation<A> where
A: Sync,
impl<A> Unpin for PotentialDedicatedAllocation<A> where
A: Unpin,
impl<A> UnwindSafe for PotentialDedicatedAllocation<A> where
A: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.