Struct vulkano::format::DrmFormatModifierProperties
source · pub struct DrmFormatModifierProperties {
pub drm_format_modifier: u64,
pub drm_format_modifier_plane_count: u32,
pub drm_format_modifier_tiling_features: FormatFeatures,
}
Expand description
The properties of a format when combined with a Linux DRM format modifier.
Fields§
§drm_format_modifier: u64
The DRM format modifier that the properties apply to.
drm_format_modifier_plane_count: u32
The number of memory planes that an image will have if it is created with
drm_format_modifier
and the queried format.
drm_format_modifier_tiling_features: FormatFeatures
The format features of the queried format when combined with drm_format_modifier
.
Trait Implementations§
source§impl Clone for DrmFormatModifierProperties
impl Clone for DrmFormatModifierProperties
source§fn clone(&self) -> DrmFormatModifierProperties
fn clone(&self) -> DrmFormatModifierProperties
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for DrmFormatModifierProperties
impl Send for DrmFormatModifierProperties
impl Sync for DrmFormatModifierProperties
impl Unpin for DrmFormatModifierProperties
impl UnwindSafe for DrmFormatModifierProperties
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