pub trait RawContextExt {
    unsafe fn build_raw_context(
        self,
        hwnd: isize
    ) -> Result<RawContext<NotCurrent>, CreationError>
   where
        Self: Sized
; }

Required Methods

Creates a raw context on the provided window.

Unsafe behaviour might happen if you:

  • Provide us with invalid parameters.
  • The window is destroyed before the context

Implementors