Struct ash::vk::ImageFormatConstraintsInfoFUCHSIA
source · #[repr(C)]pub struct ImageFormatConstraintsInfoFUCHSIA<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub image_create_info: ImageCreateInfo<'a>,
pub required_format_features: FormatFeatureFlags,
pub flags: ImageFormatConstraintsFlagsFUCHSIA,
pub sysmem_pixel_format: u64,
pub color_space_count: u32,
pub p_color_spaces: *const SysmemColorSpaceFUCHSIA<'a>,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§image_create_info: ImageCreateInfo<'a>
§required_format_features: FormatFeatureFlags
§flags: ImageFormatConstraintsFlagsFUCHSIA
§sysmem_pixel_format: u64
§color_space_count: u32
§p_color_spaces: *const SysmemColorSpaceFUCHSIA<'a>
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> ImageFormatConstraintsInfoFUCHSIA<'a>
impl<'a> ImageFormatConstraintsInfoFUCHSIA<'a>
pub fn image_create_info(self, image_create_info: ImageCreateInfo<'a>) -> Self
pub fn required_format_features( self, required_format_features: FormatFeatureFlags, ) -> Self
pub fn flags(self, flags: ImageFormatConstraintsFlagsFUCHSIA) -> Self
pub fn sysmem_pixel_format(self, sysmem_pixel_format: u64) -> Self
pub fn color_spaces( self, color_spaces: &'a [SysmemColorSpaceFUCHSIA<'a>], ) -> Self
Trait Implementations§
source§impl<'a> Clone for ImageFormatConstraintsInfoFUCHSIA<'a>
impl<'a> Clone for ImageFormatConstraintsInfoFUCHSIA<'a>
source§fn clone(&self) -> ImageFormatConstraintsInfoFUCHSIA<'a>
fn clone(&self) -> ImageFormatConstraintsInfoFUCHSIA<'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 ImageFormatConstraintsInfoFUCHSIA<'a>
impl<'a> Debug for ImageFormatConstraintsInfoFUCHSIA<'a>
source§impl Default for ImageFormatConstraintsInfoFUCHSIA<'_>
impl Default for ImageFormatConstraintsInfoFUCHSIA<'_>
source§impl<'a> TaggedStructure for ImageFormatConstraintsInfoFUCHSIA<'a>
impl<'a> TaggedStructure for ImageFormatConstraintsInfoFUCHSIA<'a>
const STRUCTURE_TYPE: StructureType = StructureType::IMAGE_FORMAT_CONSTRAINTS_INFO_FUCHSIA
impl<'a> Copy for ImageFormatConstraintsInfoFUCHSIA<'a>
impl Send for ImageFormatConstraintsInfoFUCHSIA<'_>
impl Sync for ImageFormatConstraintsInfoFUCHSIA<'_>
Auto Trait Implementations§
impl<'a> Freeze for ImageFormatConstraintsInfoFUCHSIA<'a>
impl<'a> RefUnwindSafe for ImageFormatConstraintsInfoFUCHSIA<'a>
impl<'a> Unpin for ImageFormatConstraintsInfoFUCHSIA<'a>
impl<'a> UnwindSafe for ImageFormatConstraintsInfoFUCHSIA<'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
)