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/settings.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/settings.rs')
-rw-r--r-- | wgpu/src/settings.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/wgpu/src/settings.rs b/wgpu/src/settings.rs index c6d8369b..dbe81830 100644 --- a/wgpu/src/settings.rs +++ b/wgpu/src/settings.rs @@ -1,4 +1,10 @@ +/// The settings of a [`Renderer`]. +/// +/// [`Renderer`]: struct.Renderer.html #[derive(Debug, Clone, Copy, PartialEq, Eq, Default)] pub struct Settings { + /// The bytes of the font that will be used by default. + /// + /// If `None` is provided, a default system font will be chosen. pub default_font: Option<&'static [u8]>, } |