Struct vulkan_bindings::SwapchainCreateInfoKHR
source · [−]#[repr(C)]pub struct SwapchainCreateInfoKHR {Show 18 fields
pub sType: StructureType,
pub pNext: *const c_void,
pub flags: SwapchainCreateFlagsKHR,
pub surface: SurfaceKHR,
pub minImageCount: u32,
pub imageFormat: Format,
pub imageColorSpace: ColorSpaceKHR,
pub imageExtent: Extent2D,
pub imageArrayLayers: u32,
pub imageUsage: ImageUsageFlags,
pub imageSharingMode: SharingMode,
pub queueFamilyIndexCount: u32,
pub pQueueFamilyIndices: *const u32,
pub preTransform: SurfaceTransformFlagBitsKHR,
pub compositeAlpha: CompositeAlphaFlagBitsKHR,
pub presentMode: PresentModeKHR,
pub clipped: Bool32,
pub oldSwapchain: SwapchainKHR,
}
Fields
sType: StructureType
pNext: *const c_void
flags: SwapchainCreateFlagsKHR
surface: SurfaceKHR
minImageCount: u32
imageFormat: Format
imageColorSpace: ColorSpaceKHR
imageExtent: Extent2D
imageArrayLayers: u32
imageUsage: ImageUsageFlags
imageSharingMode: SharingMode
queueFamilyIndexCount: u32
pQueueFamilyIndices: *const u32
preTransform: SurfaceTransformFlagBitsKHR
compositeAlpha: CompositeAlphaFlagBitsKHR
presentMode: PresentModeKHR
clipped: Bool32
oldSwapchain: SwapchainKHR
Trait Implementations
sourceimpl Clone for SwapchainCreateInfoKHR
impl Clone for SwapchainCreateInfoKHR
sourcefn clone(&self) -> SwapchainCreateInfoKHR
fn clone(&self) -> SwapchainCreateInfoKHR
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for SwapchainCreateInfoKHR
Auto Trait Implementations
impl RefUnwindSafe for SwapchainCreateInfoKHR
impl !Send for SwapchainCreateInfoKHR
impl !Sync for SwapchainCreateInfoKHR
impl Unpin for SwapchainCreateInfoKHR
impl UnwindSafe for SwapchainCreateInfoKHR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more