Struct conrod_vulkano::Image

source ·
pub struct Image {
    pub image_access: Arc<ImmutableImage<R8G8B8A8Unorm>>,
    pub width: u32,
    pub height: u32,
}
Expand description

A loaded vulkan texture and it’s width/height

Fields§

§image_access: Arc<ImmutableImage<R8G8B8A8Unorm>>

The actual image.

§width: u32

The width of the image.

§height: u32

The height of the image.

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.