Flag lazy feature types directly
Co-authored-by: JL710 <76447362+JL710@users.noreply.github.com>
This commit is contained in:
parent
14e686cd37
commit
7cb12e3c3b
5 changed files with 6 additions and 5 deletions
|
|
@ -30,6 +30,7 @@ use std::rc::Rc;
|
|||
///
|
||||
/// Additionally, a [`Component`] is capable of producing a `Message` to notify
|
||||
/// the parent application of any relevant interactions.
|
||||
#[cfg(feature = "lazy")]
|
||||
pub trait Component<Message, Theme = crate::Theme, Renderer = crate::Renderer> {
|
||||
/// The internal state of this [`Component`].
|
||||
type State: Default;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue