pub struct PaintOutcome {
pub needs_frame: bool,
pub needs_layout: bool,
pub needs_frame_paced_only: bool,
pub paced_interval: Option<Duration>,
pub paint_serial: u64,
}Expand description
The result of a whole crate::app::RenderRoot::paint pass.
Fields§
§needs_frame: boolWhether the shell should schedule another frame.
needs_layout: boolWhether a widget called PaintCtx::request_layout.
needs_frame_paced_only: boolWhether every frame request was TickClass::CosmeticLoop (paceable).
paced_interval: Option<Duration>The tightest paced interval; None and Some(ZERO) both mean the
theme rate.
paint_serial: u64The paint serial, handed to the renderer with the scene.
Trait Implementations§
Source§impl Clone for PaintOutcome
impl Clone for PaintOutcome
impl Copy for PaintOutcome
Source§impl Debug for PaintOutcome
impl Debug for PaintOutcome
Source§impl Default for PaintOutcome
impl Default for PaintOutcome
impl Eq for PaintOutcome
Source§impl PartialEq for PaintOutcome
impl PartialEq for PaintOutcome
impl StructuralPartialEq for PaintOutcome
Auto Trait Implementations§
impl Freeze for PaintOutcome
impl RefUnwindSafe for PaintOutcome
impl Send for PaintOutcome
impl Sync for PaintOutcome
impl Unpin for PaintOutcome
impl UnsafeUnpin for PaintOutcome
impl UnwindSafe for PaintOutcome
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.Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.