pub struct EGLSurface<N: NativeSurface> { /* private fields */ }
Expand description

EGL surface of a given EGL context for rendering

Implementations§

Swaps buffers at the end of a frame.

Makes the OpenGL context the current context in the current thread.

Unsafety

This function is marked unsafe, because the context cannot be made current on multiple threads.

Returns true if the OpenGL surface is the current one in the thread.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

A guard object containing the value and keeping it alive. Read more
The loading method. Read more
Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
The equivalent of [Access::load].

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Sets value as a parameter of self.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.