Rename Renderer::Primitive to Renderer::Output
This commit is contained in:
parent
650d020fde
commit
8846a239cf
25 changed files with 48 additions and 48 deletions
|
|
@ -1,7 +1,7 @@
|
|||
//! Write your own renderer.
|
||||
//!
|
||||
//! You will need to implement the `Renderer` trait first. It simply contains
|
||||
//! a `Primitive` associated type.
|
||||
//! an `Output` associated type.
|
||||
//!
|
||||
//! There is no common trait to draw all the widgets. Instead, every [`Widget`]
|
||||
//! constrains its generic `Renderer` type as necessary.
|
||||
|
|
@ -27,5 +27,5 @@ pub use debugger::Debugger;
|
|||
pub use windowed::Windowed;
|
||||
|
||||
pub trait Renderer {
|
||||
type Primitive;
|
||||
type Output;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue