Struct openxr_sys::SwapchainImageOpenGLKHR
source · #[repr(C)]pub struct SwapchainImageOpenGLKHR {
pub ty: StructureType,
pub next: *mut c_void,
pub image: u32,
}
Expand description
See XrSwapchainImageOpenGLKHR - defined by XR_KHR_opengl_enable
Fields§
§ty: StructureType
§next: *mut c_void
§image: u32
Implementations§
source§impl SwapchainImageOpenGLKHR
impl SwapchainImageOpenGLKHR
pub const TYPE: StructureType = StructureType::SWAPCHAIN_IMAGE_OPENGL_KHR
sourcepub fn out(next: *mut BaseOutStructure) -> MaybeUninit<Self>
pub fn out(next: *mut BaseOutStructure) -> MaybeUninit<Self>
Construct a partially-initialized value suitable for passing to OpenXR
Trait Implementations§
source§impl Clone for SwapchainImageOpenGLKHR
impl Clone for SwapchainImageOpenGLKHR
source§fn clone(&self) -> SwapchainImageOpenGLKHR
fn clone(&self) -> SwapchainImageOpenGLKHR
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 moresource§impl Debug for SwapchainImageOpenGLKHR
impl Debug for SwapchainImageOpenGLKHR
impl Copy for SwapchainImageOpenGLKHR
Auto Trait Implementations§
impl RefUnwindSafe for SwapchainImageOpenGLKHR
impl !Send for SwapchainImageOpenGLKHR
impl !Sync for SwapchainImageOpenGLKHR
impl Unpin for SwapchainImageOpenGLKHR
impl UnwindSafe for SwapchainImageOpenGLKHR
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