pub enum FrameOutcome {
Unchanged,
Dirty,
}Expand description
Outcome returned by a periodic application frame callback.
Returning FrameOutcome::Dirty marks the runtime dirty so the root view
function is re-invoked and the window is repainted. Returning
FrameOutcome::Unchanged skips rebuild, layout, compile, and paint.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for FrameOutcome
impl Clone for FrameOutcome
impl Copy for FrameOutcome
Source§impl Debug for FrameOutcome
impl Debug for FrameOutcome
Source§impl Default for FrameOutcome
impl Default for FrameOutcome
impl Eq for FrameOutcome
Source§impl PartialEq for FrameOutcome
impl PartialEq for FrameOutcome
impl StructuralPartialEq for FrameOutcome
Auto Trait Implementations§
impl Forget for FrameOutcome
impl Freeze for FrameOutcome
impl Move for FrameOutcome
impl RefUnwindSafe for FrameOutcome
impl Send for FrameOutcome
impl Sync for FrameOutcome
impl Unpin for FrameOutcome
impl UnsafeUnpin for FrameOutcome
impl UnwindSafe for FrameOutcome
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.