#[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
Fields§
§drm_format_modifier: u64§drm_format_modifier_plane_count: u32§drm_format_modifier_tiling_features: FormatFeatureFlags2Implementations§
Source§impl DrmFormatModifierProperties2EXT
impl DrmFormatModifierProperties2EXT
pub fn drm_format_modifier(self, value: u64) -> Self
pub fn drm_format_modifier_plane_count(self, value: u32) -> Self
pub fn drm_format_modifier_tiling_features( self, value: FormatFeatureFlags2, ) -> Self
Trait Implementations§
Source§impl Clone for DrmFormatModifierProperties2EXT
impl Clone for DrmFormatModifierProperties2EXT
Source§fn clone(&self) -> DrmFormatModifierProperties2EXT
fn clone(&self) -> DrmFormatModifierProperties2EXT
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DrmFormatModifierProperties2EXT
Source§impl Default for DrmFormatModifierProperties2EXT
Available on crate feature ext_image_drm_format_modifier and (crate features ext_format_feature_flags2 or version_1_3) only.
impl Default for DrmFormatModifierProperties2EXT
Available on crate feature
ext_image_drm_format_modifier and (crate features ext_format_feature_flags2 or version_1_3) only.impl Send for DrmFormatModifierProperties2EXT
Available on crate feature
ext_image_drm_format_modifier and (crate features ext_format_feature_flags2 or version_1_3) only.impl Sync for DrmFormatModifierProperties2EXT
Available on crate feature
ext_image_drm_format_modifier and (crate features ext_format_feature_flags2 or version_1_3) only.Auto Trait Implementations§
impl Freeze for DrmFormatModifierProperties2EXT
impl RefUnwindSafe for DrmFormatModifierProperties2EXT
impl Unpin for DrmFormatModifierProperties2EXT
impl UnsafeUnpin for DrmFormatModifierProperties2EXT
impl UnwindSafe for DrmFormatModifierProperties2EXT
Blanket Implementations§
impl<T> Alias<T> for T
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