#[repr(C)]pub struct SurfaceFormat2KHR {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub surface_format: SurfaceFormatKHR,
}Expand description
VkSurfaceFormat2KHR
Provided by VK_KHR_get_surface_capabilities2.
Returned only*, filled by Vulkan, not constructed by the application.
§Extended By
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR.
p_next: *mut c_voidOptional, may be null.
surface_format: SurfaceFormatKHRImplementations§
Source§impl SurfaceFormat2KHR
impl SurfaceFormat2KHR
Sourcepub fn builder<'a>() -> SurfaceFormat2KHRBuilder<'a>
pub fn builder<'a>() -> SurfaceFormat2KHRBuilder<'a>
Returns a builder for this struct with sType pre-filled.
Trait Implementations§
Source§impl Clone for SurfaceFormat2KHR
impl Clone for SurfaceFormat2KHR
Source§fn clone(&self) -> SurfaceFormat2KHR
fn clone(&self) -> SurfaceFormat2KHR
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§impl Debug for SurfaceFormat2KHR
impl Debug for SurfaceFormat2KHR
Source§impl Default for SurfaceFormat2KHR
impl Default for SurfaceFormat2KHR
impl Copy for SurfaceFormat2KHR
Auto Trait Implementations§
impl Freeze for SurfaceFormat2KHR
impl RefUnwindSafe for SurfaceFormat2KHR
impl !Send for SurfaceFormat2KHR
impl !Sync for SurfaceFormat2KHR
impl Unpin for SurfaceFormat2KHR
impl UnsafeUnpin for SurfaceFormat2KHR
impl UnwindSafe for SurfaceFormat2KHR
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