struct Inner {
egl: EglContext,
version: (i32, i32),
supports_native_window: bool,
config: Config,
srgb_kind: SrgbFrameBufferKind,
}Fields§
§egl: EglContextNote: the context contains a dummy pbuffer (1x1).
Required for eglMakeCurrent on platforms that doesn’t supports EGL_KHR_surfaceless_context.
version: (i32, i32)§supports_native_window: bool§config: Config§srgb_kind: SrgbFrameBufferKindMethod by which the framebuffer should support srgb
Implementations§
Source§impl Inner
impl Inner
fn create( flags: InstanceFlags, egl: Arc<DynamicInstance<EGL1_4>>, display: Display, force_gles_minor_version: Gles3MinorVersion, ) -> Result<Self, InstanceError>
Trait Implementations§
impl Send for Inner
Available on
send_sync only.impl Sync for Inner
Available on
send_sync only.Auto Trait Implementations§
impl Freeze for Inner
impl RefUnwindSafe for Inner
impl Unpin for Inner
impl UnsafeUnpin for Inner
impl UnwindSafe for Inner
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