Write documentation for iced_core

This commit is contained in:
Héctor Ramón Jiménez 2019-11-18 07:16:19 +01:00
parent 63dbf078fe
commit d3553adf27
16 changed files with 216 additions and 44 deletions

View file

@ -1,7 +1,9 @@
use crate::Color;
/// The background of some element.
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum Background {
/// A solid color
Color(Color),
// TODO: Add gradient and image variants
}