Fix doclinks
This commit is contained in:
parent
72e38370fe
commit
2771c8c3e5
2 changed files with 2 additions and 8 deletions
|
@ -26,10 +26,7 @@ use wgpu::util::DeviceExt as _;
|
||||||
///
|
///
|
||||||
/// # Example
|
/// # Example
|
||||||
///
|
///
|
||||||
/// See the [custom3d_wgpu] demo source for a detailed usage example.
|
/// See the [`custom3d_glow`](https://github.com/emilk/egui/blob/master/egui_demo_app/src/apps/custom3d_wgpu.rs) demo source for a detailed usage example.
|
||||||
///
|
|
||||||
/// [custom3d_wgpu]:
|
|
||||||
/// https://github.com/emilk/egui/blob/master/egui_demo_app/src/apps/custom3d_wgpu.rs
|
|
||||||
pub struct CallbackFn {
|
pub struct CallbackFn {
|
||||||
prepare: Box<PrepareCallback>,
|
prepare: Box<PrepareCallback>,
|
||||||
paint: Box<PaintCallback>,
|
paint: Box<PaintCallback>,
|
||||||
|
|
|
@ -76,10 +76,7 @@ pub struct Painter {
|
||||||
///
|
///
|
||||||
/// # Example
|
/// # Example
|
||||||
///
|
///
|
||||||
/// See the [custom3d_glow] demo source for a detailed usage example.
|
/// See the [`custom3d_glow`](https://github.com/emilk/egui/blob/master/egui_demo_app/src/apps/custom3d_wgpu.rs) demo source for a detailed usage example.
|
||||||
///
|
|
||||||
/// [custom3d_glow]:
|
|
||||||
/// https://github.com/emilk/egui/blob/master/egui_demo_app/src/apps/custom3d_wgpu.rs
|
|
||||||
pub struct CallbackFn {
|
pub struct CallbackFn {
|
||||||
f: Box<dyn Fn(PaintCallbackInfo, &Painter) + Sync + Send>,
|
f: Box<dyn Fn(PaintCallbackInfo, &Painter) + Sync + Send>,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue