Fix majority of unresolved documentation links
This commit is contained in:
parent
89d9c45d25
commit
89d9f1d7d2
40 changed files with 117 additions and 137 deletions
|
|
@ -14,11 +14,11 @@ pub use text::Text;
|
|||
|
||||
pub use crate::gradient::{self, Gradient};
|
||||
|
||||
/// A renderer capable of drawing some [`Geometry`].
|
||||
/// A renderer capable of drawing some [`Self::Geometry`].
|
||||
pub trait Renderer: crate::core::Renderer {
|
||||
/// The kind of geometry this renderer can draw.
|
||||
type Geometry;
|
||||
|
||||
/// Draws the given layers of [`Geometry`].
|
||||
/// Draws the given layers of [`Self::Geometry`].
|
||||
fn draw(&mut self, layers: Vec<Self::Geometry>);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//! A gradient that can be used as a [`Fill`] for some geometry.
|
||||
//! A gradient that can be used as a fill for some geometry.
|
||||
//!
|
||||
//! For a gradient that you can use as a background variant for a widget, see [`Gradient`].
|
||||
//!
|
||||
|
|
@ -53,7 +53,7 @@ pub struct Linear {
|
|||
}
|
||||
|
||||
impl Linear {
|
||||
/// Creates a new [`Builder`].
|
||||
/// Creates a new [`Linear`] builder.
|
||||
pub fn new(start: Point, end: Point) -> Self {
|
||||
Self {
|
||||
start,
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ impl Damage for Mesh {
|
|||
}
|
||||
}
|
||||
|
||||
/// A set of [`Vertex2D`] and indices representing a list of triangles.
|
||||
/// A set of vertices and indices representing a list of triangles.
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
pub struct Indexed<T> {
|
||||
/// The vertices of the mesh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue