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: StructureTypenext: *mut c_voidimage: u32Implementations
sourceimpl 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
sourceimpl Clone for SwapchainImageOpenGLKHR
impl Clone for SwapchainImageOpenGLKHR
sourcefn clone(&self) -> SwapchainImageOpenGLKHR
fn clone(&self) -> SwapchainImageOpenGLKHR
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 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
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