Fix details in documentation

This commit is contained in:
Héctor Ramón Jiménez 2019-08-24 03:55:07 +02:00
parent ec66e3fc1b
commit 36d18d979f
9 changed files with 40 additions and 32 deletions

View file

@ -141,13 +141,14 @@ where
}
}
/// The renderer of a [`Text`] fragment.
/// The renderer of a [`Text`] fragment with a generic `Color`.
///
/// Your [`core::Renderer`] will need to implement this trait before being
/// able to use a [`Text`] in your user interface.
/// Your [`Renderer`] will need to implement this trait before being
/// able to use [`Text`] in your [`UserInterface`].
///
/// [`Text`]: struct.Text.html
/// [`core::Renderer`]: ../../core/trait.Renderer.html
/// [`Renderer`]: ../../trait.Renderer.html
/// [`UserInterface`]: ../../struct.UserInterface.html
pub trait Renderer<Color> {
/// Creates a [`Node`] with the given [`Style`] for the provided [`Text`]
/// contents and size.