pub struct ImmutableImageInitialization<F, A = PotentialDedicatedAllocation<StdMemoryPoolAlloc>> { /* private fields */ }

Trait Implementations

Returns the inner unsafe image object used by this image.
Returns the layout that the image has when it is first used in a primary command buffer. Read more
Returns the layout that the image must be returned to before the end of the command buffer. Read more
Returns true if an access to self potentially overlaps the same memory as an access to other. Read more
Returns true if an access to self potentially overlaps the same memory as an access to other. Read more
Returns a key that uniquely identifies the memory content of the image. Two ranges that potentially overlap in memory must return the same key. Read more
Locks the resource for usage on the GPU. Returns an error if the lock can’t be acquired. Read more
Locks the resource for usage on the GPU. Supposes that the resource is already locked, and simply increases the lock by one. Read more
Unlocks the resource previously acquired with try_gpu_lock or increase_gpu_lock. Read more
Returns the format of this image.
Returns true if the image is a color image.
Returns true if the image has a depth component. In other words, if it is a depth or a depth-stencil format. Read more
Returns true if the image has a stencil component. In other words, if it is a stencil or a depth-stencil format. Read more
Returns the number of mipmap levels of this image.
Returns the number of samples of this image.
Returns the dimensions of the image.
Returns true if the image can be used as a source for blits.
Returns true if the image can be used as a destination for blits.
Wraps around this ImageAccess and returns an identical ImageAccess but whose initial layout requirement is either Undefined or Preinitialized. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
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.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.