Struct openxr::SwapchainCreateInfo
source · pub struct SwapchainCreateInfo<G: Graphics> {
pub create_flags: SwapchainCreateFlags,
pub usage_flags: SwapchainUsageFlags,
pub format: G::Format,
pub sample_count: u32,
pub width: u32,
pub height: u32,
pub face_count: u32,
pub array_size: u32,
pub mip_count: u32,
}
Fields§
§create_flags: SwapchainCreateFlags
§usage_flags: SwapchainUsageFlags
§format: G::Format
§sample_count: u32
§width: u32
§height: u32
§face_count: u32
§array_size: u32
§mip_count: u32
Trait Implementations§
source§impl<G: Clone + Graphics> Clone for SwapchainCreateInfo<G>
impl<G: Clone + Graphics> Clone for SwapchainCreateInfo<G>
source§fn clone(&self) -> SwapchainCreateInfo<G>
fn clone(&self) -> SwapchainCreateInfo<G>
Returns a copy 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<G: Copy + Graphics> Copy for SwapchainCreateInfo<G>
Auto Trait Implementations§
impl<G> Freeze for SwapchainCreateInfo<G>
impl<G> RefUnwindSafe for SwapchainCreateInfo<G>
impl<G> Send for SwapchainCreateInfo<G>
impl<G> Sync for SwapchainCreateInfo<G>
impl<G> Unpin for SwapchainCreateInfo<G>
impl<G> UnwindSafe for SwapchainCreateInfo<G>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)