struct Inner {
egl: EglContext,
version: (i32, i32),
supports_native_window: bool,
config: Config,
srgb_kind: SrgbFrameBufferKind,
}Available on
gles and neither Windows nor webgl only.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§
Auto Trait Implementations§
impl Freeze for Inner
impl RefUnwindSafe for Inner
impl !Send for Inner
impl !Sync for Inner
impl Unpin 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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more