#[non_exhaustive]pub struct EglContextDescriptor {
pub display: NativePointer,
pub config: NativePointer,
pub share_context: NativePointer,
pub get_proc_address: NativePointer,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.display: NativePointer§config: NativePointer§get_proc_address: NativePointerImplementations§
Source§impl EglContextDescriptor
impl EglContextDescriptor
pub fn new( display: NativePointer, config: NativePointer, share_context: NativePointer, ) -> Self
pub fn with_proc_address(self, get_proc_address: NativePointer) -> Self
Trait Implementations§
Source§impl Clone for EglContextDescriptor
impl Clone for EglContextDescriptor
Source§fn clone(&self) -> EglContextDescriptor
fn clone(&self) -> EglContextDescriptor
Returns a duplicate 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 EglContextDescriptor
impl Debug for EglContextDescriptor
Source§impl Default for EglContextDescriptor
impl Default for EglContextDescriptor
Source§impl PartialEq for EglContextDescriptor
impl PartialEq for EglContextDescriptor
impl StructuralPartialEq for EglContextDescriptor
Auto Trait Implementations§
impl Freeze for EglContextDescriptor
impl RefUnwindSafe for EglContextDescriptor
impl !Send for EglContextDescriptor
impl !Sync for EglContextDescriptor
impl Unpin for EglContextDescriptor
impl UnsafeUnpin for EglContextDescriptor
impl UnwindSafe for EglContextDescriptor
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