Struct RenderFramePreEvent
pub struct RenderFramePreEvent {
pub elapsed: Duration,
}Expand description
What Hooks::render_frame_pre is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§elapsed: DurationTrait Implementations§
Auto Trait Implementations§
impl Freeze for RenderFramePreEvent
impl RefUnwindSafe for RenderFramePreEvent
impl Send for RenderFramePreEvent
impl Sync for RenderFramePreEvent
impl Unpin for RenderFramePreEvent
impl UnsafeUnpin for RenderFramePreEvent
impl UnwindSafe for RenderFramePreEvent
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