#[repr(C)]pub struct DrmFormatModifierPropertiesList2EXT {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub drm_format_modifier_count: u32,
pub p_drm_format_modifier_properties: *mut DrmFormatModifierProperties2EXT,
}Expand description
VkDrmFormatModifierPropertiesList2EXT
Provided by VK_EXT_image_drm_format_modifier.
Returned only*, filled by Vulkan, not constructed by the application.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_2_EXT.
p_next: *mut c_voidOptional, may be null.
drm_format_modifier_count: u32Length of p_drm_format_modifier_properties.
p_drm_format_modifier_properties: *mut DrmFormatModifierProperties2EXTOptional, may be null.
Implementations§
Source§impl DrmFormatModifierPropertiesList2EXT
impl DrmFormatModifierPropertiesList2EXT
Sourcepub fn builder<'a>() -> DrmFormatModifierPropertiesList2EXTBuilder<'a>
pub fn builder<'a>() -> DrmFormatModifierPropertiesList2EXTBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for DrmFormatModifierPropertiesList2EXT
impl Clone for DrmFormatModifierPropertiesList2EXT
Source§fn clone(&self) -> DrmFormatModifierPropertiesList2EXT
fn clone(&self) -> DrmFormatModifierPropertiesList2EXT
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 DrmFormatModifierPropertiesList2EXT
impl ExtendsFormatProperties2 for DrmFormatModifierPropertiesList2EXT
Auto Trait Implementations§
impl Freeze for DrmFormatModifierPropertiesList2EXT
impl RefUnwindSafe for DrmFormatModifierPropertiesList2EXT
impl !Send for DrmFormatModifierPropertiesList2EXT
impl !Sync for DrmFormatModifierPropertiesList2EXT
impl Unpin for DrmFormatModifierPropertiesList2EXT
impl UnsafeUnpin for DrmFormatModifierPropertiesList2EXT
impl UnwindSafe for DrmFormatModifierPropertiesList2EXT
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