Use recently stabilized intra-doc links

See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
This commit is contained in:
Héctor Ramón Jiménez 2020-11-25 07:11:27 +01:00
parent d612bf5678
commit 01322f69a4
135 changed files with 135 additions and 1769 deletions

View file

@ -1,19 +1,19 @@
//! Configure a renderer.
pub use crate::Antialiasing;
/// The settings of a [`Renderer`].
/// The settings of a [`Backend`].
///
/// [`Renderer`]: ../struct.Renderer.html
/// [`Backend`]: crate::Backend
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct Settings {
/// The output format of the [`Renderer`].
/// The output format of the [`Backend`].
///
/// [`Renderer`]: ../struct.Renderer.html
/// [`Backend`]: crate::Backend
pub format: wgpu::TextureFormat,
/// The present mode of the [`Renderer`].
/// The present mode of the [`Backend`].
///
/// [`Renderer`]: ../struct.Renderer.html
/// [`Backend`]: crate::Backend
pub present_mode: wgpu::PresentMode,
/// The bytes of the font that will be used by default.