Make Font an associated type of text::Renderer
This commit is contained in:
parent
6786b8a3aa
commit
0300b649d7
9 changed files with 45 additions and 23 deletions
|
|
@ -17,6 +17,8 @@ pub mod scrollable;
|
|||
pub mod slider;
|
||||
pub mod text_input;
|
||||
|
||||
mod text;
|
||||
|
||||
#[doc(no_inline)]
|
||||
pub use button::Button;
|
||||
#[doc(no_inline)]
|
||||
|
|
@ -36,6 +38,8 @@ pub use slider::Slider;
|
|||
#[doc(no_inline)]
|
||||
pub use text_input::TextInput;
|
||||
|
||||
pub use text::Text;
|
||||
|
||||
#[cfg(feature = "canvas")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "canvas")))]
|
||||
pub mod canvas;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue