#[repr(C)]pub struct PhysicalDeviceVideoFormatInfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub image_usage: ImageUsageFlags,
}Expand description
VkPhysicalDeviceVideoFormatInfoKHR
Provided by VK_KHR_video_queue.
§Extended By
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_FORMAT_INFO_KHR.
p_next: *const c_voidOptional, may be null.
image_usage: ImageUsageFlagsImplementations§
Source§impl PhysicalDeviceVideoFormatInfoKHR
impl PhysicalDeviceVideoFormatInfoKHR
Sourcepub fn builder<'a>() -> PhysicalDeviceVideoFormatInfoKHRBuilder<'a>
pub fn builder<'a>() -> PhysicalDeviceVideoFormatInfoKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDeviceVideoFormatInfoKHR
impl Clone for PhysicalDeviceVideoFormatInfoKHR
Source§fn clone(&self) -> PhysicalDeviceVideoFormatInfoKHR
fn clone(&self) -> PhysicalDeviceVideoFormatInfoKHR
Returns a duplicate 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 moreimpl Copy for PhysicalDeviceVideoFormatInfoKHR
Auto Trait Implementations§
impl Freeze for PhysicalDeviceVideoFormatInfoKHR
impl RefUnwindSafe for PhysicalDeviceVideoFormatInfoKHR
impl !Send for PhysicalDeviceVideoFormatInfoKHR
impl !Sync for PhysicalDeviceVideoFormatInfoKHR
impl Unpin for PhysicalDeviceVideoFormatInfoKHR
impl UnsafeUnpin for PhysicalDeviceVideoFormatInfoKHR
impl UnwindSafe for PhysicalDeviceVideoFormatInfoKHR
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