mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-22 15:18:43 -06:00
re-export Signal
derive from the signal
module
This commit is contained in:
parent
e9078ade10
commit
3dabfdb339
|
@ -1,5 +1,6 @@
|
||||||
use hui::{
|
use hui::{
|
||||||
color, size, Signal,
|
color, size,
|
||||||
|
signal::Signal,
|
||||||
draw::TextureFormat,
|
draw::TextureFormat,
|
||||||
layout::{Alignment, Direction},
|
layout::{Alignment, Direction},
|
||||||
element::{
|
element::{
|
||||||
|
|
|
@ -8,8 +8,9 @@ use hui::{
|
||||||
text::Text,
|
text::Text,
|
||||||
UiElementExt,
|
UiElementExt,
|
||||||
},
|
},
|
||||||
|
signal::Signal,
|
||||||
layout::{Alignment, Direction},
|
layout::{Alignment, Direction},
|
||||||
size, Signal,
|
size,
|
||||||
};
|
};
|
||||||
|
|
||||||
#[derive(Signal)]
|
#[derive(Signal)]
|
||||||
|
|
|
@ -11,7 +11,7 @@ use hui::{
|
||||||
frame::nine_patch::{NinePatchAsset, NinePatchFrame},
|
frame::nine_patch::{NinePatchAsset, NinePatchFrame},
|
||||||
layout::Alignment,
|
layout::Alignment,
|
||||||
rect::Rect,
|
rect::Rect,
|
||||||
Signal,
|
signal::Signal,
|
||||||
size,
|
size,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
#![forbid(unsafe_op_in_unsafe_fn)]
|
#![forbid(unsafe_op_in_unsafe_fn)]
|
||||||
#![allow(unused_parens)]
|
#![allow(unused_parens)]
|
||||||
|
|
||||||
#[cfg(feature = "derive")]
|
|
||||||
pub use hui_derive::*;
|
|
||||||
|
|
||||||
mod instance;
|
mod instance;
|
||||||
mod macros;
|
mod macros;
|
||||||
pub mod layout;
|
pub mod layout;
|
||||||
|
|
|
@ -6,6 +6,9 @@ use nohash_hasher::BuildNoHashHasher;
|
||||||
|
|
||||||
pub mod trigger;
|
pub mod trigger;
|
||||||
|
|
||||||
|
#[cfg(feature = "derive")]
|
||||||
|
pub use hui_derive::Signal;
|
||||||
|
|
||||||
/// A marker trait for UI Signals
|
/// A marker trait for UI Signals
|
||||||
pub trait Signal: Any {}
|
pub trait Signal: Any {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue