Fix (more) broken intradoc links
Good thing I just set up CI earlier for this 😅
This commit is contained in:
parent
c692845744
commit
b42b24b79a
3 changed files with 5 additions and 5 deletions
|
|
@ -215,7 +215,7 @@ pub trait Paragraph: Default {
|
||||||
/// Returns the [`LineHeight`] of the [`Paragraph`].
|
/// Returns the [`LineHeight`] of the [`Paragraph`].
|
||||||
fn line_height(&self) -> LineHeight;
|
fn line_height(&self) -> LineHeight;
|
||||||
|
|
||||||
/// Returns the [`Font`] of the [`Paragraph`].
|
/// Returns the [`Self::Font`] of the [`Paragraph`].
|
||||||
fn font(&self) -> Self::Font;
|
fn font(&self) -> Self::Font;
|
||||||
|
|
||||||
/// Returns the [`Shaping`] strategy of the [`Paragraph`].
|
/// Returns the [`Shaping`] strategy of the [`Paragraph`].
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ pub trait Backend {
|
||||||
|
|
||||||
/// A graphics backend that supports text rendering.
|
/// A graphics backend that supports text rendering.
|
||||||
pub trait Text {
|
pub trait Text {
|
||||||
/// Loads a [`Font`] from its bytes.
|
/// Loads a font from its bytes.
|
||||||
fn load_font(&mut self, font: Cow<'static, [u8]>);
|
fn load_font(&mut self, font: Cow<'static, [u8]>);
|
||||||
|
|
||||||
/// Returns the [`cosmic_text::FontSystem`] of the [`Backend`].
|
/// Returns the [`cosmic_text::FontSystem`] of the [`Backend`].
|
||||||
|
|
|
||||||
|
|
@ -34,11 +34,11 @@ pub enum Primitive<T> {
|
||||||
},
|
},
|
||||||
/// A paragraph primitive
|
/// A paragraph primitive
|
||||||
Paragraph {
|
Paragraph {
|
||||||
/// The [`Paragraph`].
|
/// The [`paragraph::Weak`] reference.
|
||||||
paragraph: paragraph::Weak,
|
paragraph: paragraph::Weak,
|
||||||
/// The position of the [`Paragraph`].
|
/// The position of the paragraph.
|
||||||
position: Point,
|
position: Point,
|
||||||
/// The color of the [`Paragraph`].
|
/// The color of the paragraph.
|
||||||
color: Color,
|
color: Color,
|
||||||
},
|
},
|
||||||
/// A quad primitive
|
/// A quad primitive
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue