Write missing docs and reenable deny statements

This commit is contained in:
Héctor Ramón Jiménez 2020-01-09 18:31:07 +01:00
parent 775500cf1f
commit 7b278755fc
18 changed files with 71 additions and 13 deletions

View file

@ -1,7 +1,10 @@
//! Use default styling attributes to inherit styles.
use iced_native::Color;
/// Some default styling attributes.
#[derive(Debug, Clone, Copy)]
pub struct Defaults {
/// Text styling
pub text: Text,
}
@ -13,8 +16,10 @@ impl Default for Defaults {
}
}
/// Some default text styling attributes.
#[derive(Debug, Clone, Copy)]
pub struct Text {
/// The default color of text
pub color: Color,
}