Add doclinks to egui_extras::RetainedImage
This commit is contained in:
parent
ec57683c1a
commit
b41fb585fe
2 changed files with 4 additions and 4 deletions
|
@ -1513,8 +1513,8 @@ impl Ui {
|
||||||
|
|
||||||
/// Show an image here with the given size.
|
/// Show an image here with the given size.
|
||||||
///
|
///
|
||||||
/// In order to display an image you must first acquire a [`TextureHandle`]
|
/// In order to display an image you must first acquire a [`TextureHandle`].
|
||||||
/// using [`Context::load_texture`].
|
/// This is best done with [`egui_extras::RetainedImage`](https://docs.rs/egui_extras/latest/egui_extras/image/struct.RetainedImage.html) or [`Context::load_texture`].
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// struct MyImage {
|
/// struct MyImage {
|
||||||
|
|
|
@ -3,8 +3,8 @@ use emath::Rot2;
|
||||||
|
|
||||||
/// An widget to show an image of a given size.
|
/// An widget to show an image of a given size.
|
||||||
///
|
///
|
||||||
/// In order to display an image you must first acquire a [`TextureHandle`]
|
/// In order to display an image you must first acquire a [`TextureHandle`].
|
||||||
/// using [`Context::load_texture`].
|
/// This is best done with [`egui_extras::RetainedImage`](https://docs.rs/egui_extras/latest/egui_extras/image/struct.RetainedImage.html) or [`Context::load_texture`].
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// struct MyImage {
|
/// struct MyImage {
|
||||||
|
|
Loading…
Reference in a new issue