Struct ash::vk::VideoFormatPropertiesKHR
source · #[repr(C)]pub struct VideoFormatPropertiesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub format: Format,
pub component_mapping: ComponentMapping,
pub image_create_flags: ImageCreateFlags,
pub image_type: ImageType,
pub image_tiling: ImageTiling,
pub image_usage_flags: ImageUsageFlags,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§format: Format
§component_mapping: ComponentMapping
§image_create_flags: ImageCreateFlags
§image_type: ImageType
§image_tiling: ImageTiling
§image_usage_flags: ImageUsageFlags
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> VideoFormatPropertiesKHR<'a>
impl<'a> VideoFormatPropertiesKHR<'a>
pub fn format(self, format: Format) -> Self
pub fn component_mapping(self, component_mapping: ComponentMapping) -> Self
pub fn image_create_flags(self, image_create_flags: ImageCreateFlags) -> Self
pub fn image_type(self, image_type: ImageType) -> Self
pub fn image_tiling(self, image_tiling: ImageTiling) -> Self
pub fn image_usage_flags(self, image_usage_flags: ImageUsageFlags) -> Self
Trait Implementations§
source§impl<'a> Clone for VideoFormatPropertiesKHR<'a>
impl<'a> Clone for VideoFormatPropertiesKHR<'a>
source§fn clone(&self) -> VideoFormatPropertiesKHR<'a>
fn clone(&self) -> VideoFormatPropertiesKHR<'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 VideoFormatPropertiesKHR<'a>
impl<'a> Debug for VideoFormatPropertiesKHR<'a>
source§impl Default for VideoFormatPropertiesKHR<'_>
impl Default for VideoFormatPropertiesKHR<'_>
source§impl<'a> TaggedStructure for VideoFormatPropertiesKHR<'a>
impl<'a> TaggedStructure for VideoFormatPropertiesKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::VIDEO_FORMAT_PROPERTIES_KHR
impl<'a> Copy for VideoFormatPropertiesKHR<'a>
impl Send for VideoFormatPropertiesKHR<'_>
impl Sync for VideoFormatPropertiesKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for VideoFormatPropertiesKHR<'a>
impl<'a> RefUnwindSafe for VideoFormatPropertiesKHR<'a>
impl<'a> Unpin for VideoFormatPropertiesKHR<'a>
impl<'a> UnwindSafe for VideoFormatPropertiesKHR<'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
)