#[repr(C)]pub struct ImageDrmFormatModifierExplicitCreateInfoEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub drm_format_modifier: u64,
pub drm_format_modifier_plane_count: u32,
pub p_plane_layouts: *const SubresourceLayout,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§drm_format_modifier: u64
§drm_format_modifier_plane_count: u32
§p_plane_layouts: *const SubresourceLayout
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> ImageDrmFormatModifierExplicitCreateInfoEXT<'a>
impl<'a> ImageDrmFormatModifierExplicitCreateInfoEXT<'a>
pub fn drm_format_modifier(self, drm_format_modifier: u64) -> Self
pub fn plane_layouts(self, plane_layouts: &'a [SubresourceLayout]) -> Self
Trait Implementations§
source§impl<'a> Clone for ImageDrmFormatModifierExplicitCreateInfoEXT<'a>
impl<'a> Clone for ImageDrmFormatModifierExplicitCreateInfoEXT<'a>
source§fn clone(&self) -> ImageDrmFormatModifierExplicitCreateInfoEXT<'a>
fn clone(&self) -> ImageDrmFormatModifierExplicitCreateInfoEXT<'a>
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 moresource§impl<'a> Debug for ImageDrmFormatModifierExplicitCreateInfoEXT<'a>
impl<'a> Debug for ImageDrmFormatModifierExplicitCreateInfoEXT<'a>
source§impl<'a> TaggedStructure for ImageDrmFormatModifierExplicitCreateInfoEXT<'a>
impl<'a> TaggedStructure for ImageDrmFormatModifierExplicitCreateInfoEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT
impl<'a> Copy for ImageDrmFormatModifierExplicitCreateInfoEXT<'a>
impl ExtendsImageCreateInfo for ImageDrmFormatModifierExplicitCreateInfoEXT<'_>
impl Send for ImageDrmFormatModifierExplicitCreateInfoEXT<'_>
impl Sync for ImageDrmFormatModifierExplicitCreateInfoEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for ImageDrmFormatModifierExplicitCreateInfoEXT<'a>
impl<'a> RefUnwindSafe for ImageDrmFormatModifierExplicitCreateInfoEXT<'a>
impl<'a> Unpin for ImageDrmFormatModifierExplicitCreateInfoEXT<'a>
impl<'a> UnwindSafe for ImageDrmFormatModifierExplicitCreateInfoEXT<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)