Write documentation for iced_core
This commit is contained in:
parent
63dbf078fe
commit
d3553adf27
16 changed files with 216 additions and 44 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue