mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 13:20:06 -04:00
Fix rwhd_05 doc links
This commit is contained in:
@@ -258,7 +258,7 @@ impl<T> rwh_06::HasDisplayHandle for EventLoop<T> {
|
|||||||
|
|
||||||
#[cfg(feature = "rwh_05")]
|
#[cfg(feature = "rwh_05")]
|
||||||
unsafe impl<T> rwh_05::HasRawDisplayHandle for EventLoop<T> {
|
unsafe impl<T> rwh_05::HasRawDisplayHandle for EventLoop<T> {
|
||||||
/// Returns a [`raw_window_handle::RawDisplayHandle`] for the event loop.
|
/// Returns a [`rwh_05::RawDisplayHandle`] for the event loop.
|
||||||
fn raw_display_handle(&self) -> rwh_05::RawDisplayHandle {
|
fn raw_display_handle(&self) -> rwh_05::RawDisplayHandle {
|
||||||
rwh_05::HasRawDisplayHandle::raw_display_handle(&**self)
|
rwh_05::HasRawDisplayHandle::raw_display_handle(&**self)
|
||||||
}
|
}
|
||||||
@@ -375,7 +375,7 @@ impl<T> rwh_06::HasDisplayHandle for EventLoopWindowTarget<T> {
|
|||||||
|
|
||||||
#[cfg(feature = "rwh_05")]
|
#[cfg(feature = "rwh_05")]
|
||||||
unsafe impl<T> rwh_05::HasRawDisplayHandle for EventLoopWindowTarget<T> {
|
unsafe impl<T> rwh_05::HasRawDisplayHandle for EventLoopWindowTarget<T> {
|
||||||
/// Returns a [`raw_window_handle::RawDisplayHandle`] for the event loop.
|
/// Returns a [`rwh_05::RawDisplayHandle`] for the event loop.
|
||||||
fn raw_display_handle(&self) -> rwh_05::RawDisplayHandle {
|
fn raw_display_handle(&self) -> rwh_05::RawDisplayHandle {
|
||||||
self.p.raw_display_handle_rwh_05()
|
self.p.raw_display_handle_rwh_05()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1556,7 +1556,7 @@ unsafe impl rwh_05::HasRawWindowHandle for Window {
|
|||||||
|
|
||||||
#[cfg(feature = "rwh_05")]
|
#[cfg(feature = "rwh_05")]
|
||||||
unsafe impl rwh_05::HasRawDisplayHandle for Window {
|
unsafe impl rwh_05::HasRawDisplayHandle for Window {
|
||||||
/// Returns a [`raw_window_handle::RawDisplayHandle`] used by the [`EventLoop`] that
|
/// Returns a [`rwh_05::RawDisplayHandle`] used by the [`EventLoop`] that
|
||||||
/// created a window.
|
/// created a window.
|
||||||
///
|
///
|
||||||
/// [`EventLoop`]: crate::event_loop::EventLoop
|
/// [`EventLoop`]: crate::event_loop::EventLoop
|
||||||
|
|||||||
Reference in New Issue
Block a user