pub struct PRenderContext(/* private fields */);
Methods from Deref<Target = RenderContext>§
Sourcepub fn get_proc_address(&mut self, procname: &str) -> *const c_void
pub fn get_proc_address(&mut self, procname: &str) -> *const c_void
Wrapper function, please refer to Window::get_proc_address
Trait Implementations§
Source§impl Debug for PRenderContext
impl Debug for PRenderContext
Source§impl Deref for PRenderContext
impl Deref for PRenderContext
Source§type Target = RenderContext
type Target = RenderContext
The resulting type after dereferencing.
Source§impl DerefMut for PRenderContext
impl DerefMut for PRenderContext
Source§impl HasDisplayHandle for PRenderContext
impl HasDisplayHandle for PRenderContext
Source§fn display_handle(&self) -> Result<DisplayHandle<'_>, HandleError>
fn display_handle(&self) -> Result<DisplayHandle<'_>, HandleError>
Get a handle to the display controller of the windowing system.
Source§impl HasWindowHandle for PRenderContext
impl HasWindowHandle for PRenderContext
Source§fn window_handle(&self) -> Result<WindowHandle<'_>, HandleError>
fn window_handle(&self) -> Result<WindowHandle<'_>, HandleError>
Get a handle to the window.
impl Send for PRenderContext
impl Sync for PRenderContext
Auto Trait Implementations§
impl Freeze for PRenderContext
impl RefUnwindSafe for PRenderContext
impl Unpin for PRenderContext
impl UnwindSafe for PRenderContext
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> HasRawDisplayHandle for Twhere
T: HasDisplayHandle + ?Sized,
impl<T> HasRawDisplayHandle for Twhere
T: HasDisplayHandle + ?Sized,
Source§fn raw_display_handle(&self) -> Result<RawDisplayHandle, HandleError>
fn raw_display_handle(&self) -> Result<RawDisplayHandle, HandleError>
👎Deprecated: Use
HasDisplayHandle
insteadSource§impl<T> HasRawWindowHandle for Twhere
T: HasWindowHandle + ?Sized,
impl<T> HasRawWindowHandle for Twhere
T: HasWindowHandle + ?Sized,
Source§fn raw_window_handle(&self) -> Result<RawWindowHandle, HandleError>
fn raw_window_handle(&self) -> Result<RawWindowHandle, HandleError>
👎Deprecated: Use
HasWindowHandle
insteadSource§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