Struct openxr_sys::SwapchainCreateInfo
source · [−]#[repr(C)]pub struct SwapchainCreateInfo {
pub ty: StructureType,
pub next: *const c_void,
pub create_flags: SwapchainCreateFlags,
pub usage_flags: SwapchainUsageFlags,
pub format: i64,
pub sample_count: u32,
pub width: u32,
pub height: u32,
pub face_count: u32,
pub array_size: u32,
pub mip_count: u32,
}Expand description
Fields
ty: StructureTypenext: *const c_voidcreate_flags: SwapchainCreateFlagsusage_flags: SwapchainUsageFlagsformat: i64sample_count: u32width: u32height: u32face_count: u32array_size: u32mip_count: u32Implementations
sourceimpl SwapchainCreateInfo
impl SwapchainCreateInfo
pub const TYPE: StructureType = StructureType::SWAPCHAIN_CREATE_INFO
Trait Implementations
sourceimpl Clone for SwapchainCreateInfo
impl Clone for SwapchainCreateInfo
sourcefn clone(&self) -> SwapchainCreateInfo
fn clone(&self) -> SwapchainCreateInfo
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 moresourceimpl Debug for SwapchainCreateInfo
impl Debug for SwapchainCreateInfo
impl Copy for SwapchainCreateInfo
Auto Trait Implementations
impl RefUnwindSafe for SwapchainCreateInfo
impl !Send for SwapchainCreateInfo
impl !Sync for SwapchainCreateInfo
impl Unpin for SwapchainCreateInfo
impl UnwindSafe for SwapchainCreateInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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