Update README
This commit is contained in:
parent
36d18d979f
commit
bdab6f9d1a
3 changed files with 106 additions and 42 deletions
|
|
@ -33,5 +33,5 @@ pub use rectangle::Rectangle;
|
|||
pub use renderer::Renderer;
|
||||
pub use style::{Align, Justify, Style};
|
||||
pub use user_interface::{Cache, UserInterface};
|
||||
pub use vector::Vector;
|
||||
pub(crate) use vector::Vector;
|
||||
pub use widget::*;
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ pub trait Widget<Message, Renderer>: std::fmt::Debug {
|
|||
/// * an [`Event`] describing user interaction
|
||||
/// * the computed [`Layout`] of the [`Widget`]
|
||||
/// * the current cursor position
|
||||
/// * a mutable `Message` vector, allowing the [`Widget`] to produce
|
||||
/// * a mutable `Message` list, allowing the [`Widget`] to produce
|
||||
/// new messages based on user interaction.
|
||||
///
|
||||
/// By default, it does nothing.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue