#[repr(C)]pub struct PhysicalDeviceImageFormatInfo2 {
pub s_type: StructureType,
pub p_next: *const c_void,
pub format: Format,
pub type: ImageType,
pub tiling: ImageTiling,
pub usage: ImageUsageFlags,
pub flags: ImageCreateFlags,
}Expand description
VkPhysicalDeviceImageFormatInfo2
Provided by VK_BASE_VERSION_1_1.
§Extended By
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2.
p_next: *const c_voidOptional, may be null.
format: Format§type: ImageType§tiling: ImageTiling§usage: ImageUsageFlags§flags: ImageCreateFlagsImplementations§
Source§impl PhysicalDeviceImageFormatInfo2
impl PhysicalDeviceImageFormatInfo2
Sourcepub fn builder<'a>() -> PhysicalDeviceImageFormatInfo2Builder<'a>
pub fn builder<'a>() -> PhysicalDeviceImageFormatInfo2Builder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDeviceImageFormatInfo2
impl Clone for PhysicalDeviceImageFormatInfo2
Source§fn clone(&self) -> PhysicalDeviceImageFormatInfo2
fn clone(&self) -> PhysicalDeviceImageFormatInfo2
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PhysicalDeviceImageFormatInfo2
Auto Trait Implementations§
impl Freeze for PhysicalDeviceImageFormatInfo2
impl RefUnwindSafe for PhysicalDeviceImageFormatInfo2
impl !Send for PhysicalDeviceImageFormatInfo2
impl !Sync for PhysicalDeviceImageFormatInfo2
impl Unpin for PhysicalDeviceImageFormatInfo2
impl UnsafeUnpin for PhysicalDeviceImageFormatInfo2
impl UnwindSafe for PhysicalDeviceImageFormatInfo2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more