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

@ -11,6 +11,9 @@ use crate::{
pub struct Null;
impl Null {
/// Creates a new [`Null`] renderer.
///
/// [`Null`]: struct.Null.html
pub fn new() -> Null {
Null
}

View file

@ -4,6 +4,7 @@ use raw_window_handle::HasRawWindowHandle;
/// A renderer that can target windows.
pub trait Windowed: super::Renderer + Sized {
/// The settings of the renderer.
type Settings: Default;
/// The type of target.