pub struct FrameData {
pub info: IntegrationInfo,
pub output: AppOutput,
pub repaint_signal: Arc<dyn RepaintSignal>,
}
Expand description
The data required by Frame
each frame.
Fields§
§info: IntegrationInfo
Information about the integration.
output: AppOutput
Where the app can issue commands back to the integration.
repaint_signal: Arc<dyn RepaintSignal>
If you need to request a repaint from another thread, clone this and send it to that other thread.
Auto Trait Implementations§
impl Freeze for FrameData
impl !RefUnwindSafe for FrameData
impl Send for FrameData
impl Sync for FrameData
impl Unpin for FrameData
impl !UnwindSafe for FrameData
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