[−][src]Struct azul_core::window::CallbacksOfHitTest
Fields
nodes_with_callbacks: BTreeMap<NodeId, DetermineCallbackResult>
A BTreeMap where each item is already filtered by the proper hit-testing type, meaning in order to get the proper callbacks, you simply have to iterate through all node IDs
needs_relayout_anyways: bool
Same as needs_redraw_anyways
, but for reusing the layout from the previous frame.
Each :hover
and :active
group stores whether it modifies the layout, as
a performance optimization.
needs_redraw_anyways: bool
Whether the screen should be redrawn even if no Callback returns an UpdateScreen::Redraw
.
This is necessary for :hover
and :active
mouseovers - otherwise the screen would
only update on the next resize.
Implementations
impl CallbacksOfHitTest
[src]
pub fn should_call_callbacks(&self) -> bool
[src]
Returns whether there is any
Trait Implementations
impl Debug for CallbacksOfHitTest
[src]
impl Default for CallbacksOfHitTest
[src]
Auto Trait Implementations
impl RefUnwindSafe for CallbacksOfHitTest
impl Send for CallbacksOfHitTest
impl Sync for CallbacksOfHitTest
impl Unpin for CallbacksOfHitTest
impl UnwindSafe for CallbacksOfHitTest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,