diff options
author | 2019-11-18 07:16:19 +0100 | |
---|---|---|
committer | 2019-11-18 07:16:19 +0100 | |
commit | d3553adf278e5b616fbd885f321faa83a4d24b56 (patch) | |
tree | 5bbfba3b45fd34d9c9604f28bcbb80e9856873a3 /core/src/background.rs | |
parent | 63dbf078fefea444073813e834c2d35fa25eb3a7 (diff) | |
download | iced-d3553adf278e5b616fbd885f321faa83a4d24b56.tar.gz iced-d3553adf278e5b616fbd885f321faa83a4d24b56.tar.bz2 iced-d3553adf278e5b616fbd885f321faa83a4d24b56.zip |
Write documentation for `iced_core`
Diffstat (limited to 'core/src/background.rs')
-rw-r--r-- | core/src/background.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/background.rs b/core/src/background.rs index 59b67a2c..98047172 100644 --- a/core/src/background.rs +++ b/core/src/background.rs @@ -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 } |