Struct RenderFrameEvent
#[non_exhaustive]pub struct RenderFrameEvent {
pub mode: RenderMode,
pub needs_repaint: bool,
pub placement_changed: bool,
pub stats: RenderingStats,
}Expand description
Render-frame event payload.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.mode: RenderMode§needs_repaint: bool§placement_changed: bool§stats: RenderingStatsTrait Implementations§
§impl Clone for RenderFrameEvent
impl Clone for RenderFrameEvent
§fn clone(&self) -> RenderFrameEvent
fn clone(&self) -> RenderFrameEvent
Returns a duplicate 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 more§impl Debug for RenderFrameEvent
impl Debug for RenderFrameEvent
§impl PartialEq for RenderFrameEvent
impl PartialEq for RenderFrameEvent
impl StructuralPartialEq for RenderFrameEvent
Auto Trait Implementations§
impl Freeze for RenderFrameEvent
impl RefUnwindSafe for RenderFrameEvent
impl Send for RenderFrameEvent
impl Sync for RenderFrameEvent
impl Unpin for RenderFrameEvent
impl UnsafeUnpin for RenderFrameEvent
impl UnwindSafe for RenderFrameEvent
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