pub struct CallCallbacksResult {
pub needs_restyle_hover_active: bool,
pub needs_relayout_hover_active: bool,
pub needs_restyle_focus_changed: bool,
pub should_scroll_render: bool,
pub callbacks_update_screen: UpdateScreen,
pub modified_window_state: WindowState,
}
Fields§
§needs_restyle_hover_active: bool
§needs_relayout_hover_active: bool
§needs_restyle_focus_changed: bool
§should_scroll_render: bool
Whether the UI should be rendered anyways due to a (programmatic or user input) scroll event
callbacks_update_screen: UpdateScreen
Whether the callbacks say to rebuild the UI or not
modified_window_state: WindowState
WindowState that was (potentially) modified in the callbacks
Implementations§
Source§impl CallCallbacksResult
impl CallCallbacksResult
pub fn should_relayout(&self) -> bool
pub fn should_restyle(&self) -> bool
pub fn should_rerender(&self) -> bool
Trait Implementations§
Source§impl Clone for CallCallbacksResult
impl Clone for CallCallbacksResult
Source§fn clone(&self) -> CallCallbacksResult
fn clone(&self) -> CallCallbacksResult
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CallCallbacksResult
impl Debug for CallCallbacksResult
Source§impl PartialEq for CallCallbacksResult
impl PartialEq for CallCallbacksResult
impl StructuralPartialEq for CallCallbacksResult
Auto Trait Implementations§
impl Freeze for CallCallbacksResult
impl RefUnwindSafe for CallCallbacksResult
impl Send for CallCallbacksResult
impl Sync for CallCallbacksResult
impl Unpin for CallCallbacksResult
impl UnwindSafe for CallCallbacksResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)