#[repr(C)]pub struct SharedPresentSurfaceCapabilitiesKHR {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub shared_present_supported_usage_flags: ImageUsageFlagBits,
}Expand description
VkSharedPresentSurfaceCapabilitiesKHR
Provided by VK_KHR_shared_presentable_image.
Returned only*, filled by Vulkan, not constructed by the application.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR.
p_next: *mut c_voidOptional, may be null.
Implementations§
Sourcepub fn builder<'a>() -> SharedPresentSurfaceCapabilitiesKHRBuilder<'a>
pub fn builder<'a>() -> SharedPresentSurfaceCapabilitiesKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§fn clone(&self) -> SharedPresentSurfaceCapabilitiesKHR
fn clone(&self) -> SharedPresentSurfaceCapabilitiesKHR
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 moreSource§fn default() -> SharedPresentSurfaceCapabilitiesKHR
fn default() -> SharedPresentSurfaceCapabilitiesKHR
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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