diff options
author | 2020-01-09 18:31:07 +0100 | |
---|---|---|
committer | 2020-01-09 18:31:07 +0100 | |
commit | 7b278755fc7929633b5771824beac4d39b16e82e (patch) | |
tree | fe3a8a6b0ae82f7fd1fa0c0de34b4b09d0b9edda /wgpu/src/defaults.rs | |
parent | 775500cf1f5a14afacdc0bb6875136a4fd3369a4 (diff) | |
download | iced-7b278755fc7929633b5771824beac4d39b16e82e.tar.gz iced-7b278755fc7929633b5771824beac4d39b16e82e.tar.bz2 iced-7b278755fc7929633b5771824beac4d39b16e82e.zip |
Write missing docs and reenable deny statements
Diffstat (limited to 'wgpu/src/defaults.rs')
-rw-r--r-- | wgpu/src/defaults.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/wgpu/src/defaults.rs b/wgpu/src/defaults.rs index 8de8258b..11718a87 100644 --- a/wgpu/src/defaults.rs +++ b/wgpu/src/defaults.rs @@ -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, } |