Add Renderer::Defaults and style inheritance
This commit is contained in:
parent
89a6b8a9a1
commit
8caa66be27
32 changed files with 224 additions and 150 deletions
|
|
@ -44,6 +44,8 @@ pub trait Renderer: Sized {
|
|||
/// [`Renderer`]: trait.Renderer.html
|
||||
type Output;
|
||||
|
||||
type Defaults: Default;
|
||||
|
||||
/// Lays out the elements of a user interface.
|
||||
///
|
||||
/// You should override this if you need to perform any operations before or
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue