#[repr(C)]pub struct DrmFormatModifierProperties2EXT {
pub drm_format_modifier: u64,
pub drm_format_modifier_plane_count: u32,
pub drm_format_modifier_tiling_features: FormatFeatureFlags2,
}Expand description
Native structure VkDrmFormatModifierProperties2EXT.
Fields§
§drm_format_modifier: u64Native field drmFormatModifier.
drm_format_modifier_plane_count: u32Native field drmFormatModifierPlaneCount.
drm_format_modifier_tiling_features: FormatFeatureFlags2Native field drmFormatModifierTilingFeatures.
Implementations§
Source§impl DrmFormatModifierProperties2EXT
impl DrmFormatModifierProperties2EXT
Sourcepub fn set_drm_format_modifier(self, value: u64) -> Self
pub fn set_drm_format_modifier(self, value: u64) -> Self
Set native field drmFormatModifier without native effects.
Sourcepub fn set_drm_format_modifier_plane_count(self, value: u32) -> Self
pub fn set_drm_format_modifier_plane_count(self, value: u32) -> Self
Set native field drmFormatModifierPlaneCount without native effects.
Sourcepub fn set_drm_format_modifier_tiling_features(
self,
value: FormatFeatureFlags2,
) -> Self
pub fn set_drm_format_modifier_tiling_features( self, value: FormatFeatureFlags2, ) -> Self
Set native field drmFormatModifierTilingFeatures without native effects.
Trait Implementations§
impl Copy for DrmFormatModifierProperties2EXT
Auto Trait Implementations§
impl Forget for DrmFormatModifierProperties2EXT
impl Freeze for DrmFormatModifierProperties2EXT
impl Move for DrmFormatModifierProperties2EXT
impl RefUnwindSafe for DrmFormatModifierProperties2EXT
impl Send for DrmFormatModifierProperties2EXT
impl Sync for DrmFormatModifierProperties2EXT
impl Unpin for DrmFormatModifierProperties2EXT
impl UnsafeUnpin for DrmFormatModifierProperties2EXT
impl UnwindSafe for DrmFormatModifierProperties2EXT
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