pub struct FrameUpdateResult {
pub visual_changed: bool,
pub structure_changed: bool,
pub content_moved: bool,
pub content_redrawn: bool,
}Fields§
§visual_changed: bool§structure_changed: bool§content_moved: boolWhether this frame’s layout moved or resized a node: content in motion, such as a scroll or a size animation. Compose votes its high frame-rate category on exactly these changes, so the platforms boost the display rate on them the way they do for input.
content_redrawn: boolWhether this frame drew new content rather than presenting the scene it had: something drew, moved or changed, so the scene was rebuilt.
Trait Implementations§
Source§impl Clone for FrameUpdateResult
impl Clone for FrameUpdateResult
impl Copy for FrameUpdateResult
Source§impl Debug for FrameUpdateResult
impl Debug for FrameUpdateResult
Source§impl Default for FrameUpdateResult
impl Default for FrameUpdateResult
impl Eq for FrameUpdateResult
Source§impl PartialEq for FrameUpdateResult
impl PartialEq for FrameUpdateResult
impl StructuralPartialEq for FrameUpdateResult
Auto Trait Implementations§
impl Freeze for FrameUpdateResult
impl RefUnwindSafe for FrameUpdateResult
impl Send for FrameUpdateResult
impl Sync for FrameUpdateResult
impl Unpin for FrameUpdateResult
impl UnsafeUnpin for FrameUpdateResult
impl UnwindSafe for FrameUpdateResult
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