pub struct FrameCallback { /* private fields */ }Expand description
User-provided frame callback, type-erased into a boxed trait object.
The closure is higher-rank over the frame lifetime: it accepts a
&Frame<'a> for any 'a, which matches how adapters conjure up a
fresh lifetime on every invocation.
Implementations§
Auto Trait Implementations§
impl Freeze for FrameCallback
impl !RefUnwindSafe for FrameCallback
impl Send for FrameCallback
impl Sync for FrameCallback
impl Unpin for FrameCallback
impl UnsafeUnpin for FrameCallback
impl !UnwindSafe for FrameCallback
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