pub struct FrameProfileHook(pub Box<dyn FnMut(&FrameProfile)>);Expand description
Receives a completed FrameProfile each time a frame is presented.
Tuple Fields§
§0: Box<dyn FnMut(&FrameProfile)>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for FrameProfileHook
impl !Send for FrameProfileHook
impl !Sync for FrameProfileHook
impl !UnwindSafe for FrameProfileHook
impl Forget for FrameProfileHook
impl Freeze for FrameProfileHook
impl Move for FrameProfileHook
impl Unpin for FrameProfileHook
impl UnsafeUnpin for FrameProfileHook
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