[go: up one dir, main page]

Struct ash::vk::ImageCreateInfo

source ·
#[repr(C)]
pub struct ImageCreateInfo {
Show 15 fields pub s_type: StructureType, pub p_next: *const c_void, pub flags: ImageCreateFlags, pub image_type: ImageType, pub format: Format, pub extent: Extent3D, pub mip_levels: u32, pub array_layers: u32, pub samples: SampleCountFlags, pub tiling: ImageTiling, pub usage: ImageUsageFlags, pub sharing_mode: SharingMode, pub queue_family_index_count: u32, pub p_queue_family_indices: *const u32, pub initial_layout: ImageLayout,
}
Expand description

Fields§

§s_type: StructureType§p_next: *const c_void§flags: ImageCreateFlags§image_type: ImageType§format: Format§extent: Extent3D§mip_levels: u32§array_layers: u32§samples: SampleCountFlags§tiling: ImageTiling§usage: ImageUsageFlags§sharing_mode: SharingMode§queue_family_index_count: u32§p_queue_family_indices: *const u32§initial_layout: ImageLayout

Implementations§

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. 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

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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.