1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 05:10:03 -04:00

Add inter-linking between different forms of documentations and examples

This commit is contained in:
Emil Ernerfeldt
2021-12-29 21:44:48 +01:00
parent f779e8a346
commit 0960f38552
5 changed files with 15 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ pub enum FontFamily {
#[derive(Clone, Debug, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))]
pub struct FontData {
/// The data of a `.ttf` or `.otf` file.
/// The content of a `.ttf` or `.otf` file.
pub font: std::borrow::Cow<'static, [u8]>,
/// Which font face in the file to use.
/// When in doubt, use `0`.