pub struct CallbackFn { /* private fields */ }
Expand description
A callback function that can be used to compose an egui::PaintCallback
for custom rendering
with glow
.
The callback is passed, the egui::PaintCallbackInfo
and the Painter
which can be used to
access the OpenGL context.
§Example
See the custom3d_glow
demo source for a detailed usage example.
Implementations§
source§impl CallbackFn
impl CallbackFn
Auto Trait Implementations§
impl Freeze for CallbackFn
impl !RefUnwindSafe for CallbackFn
impl Send for CallbackFn
impl Sync for CallbackFn
impl Unpin for CallbackFn
impl !UnwindSafe for CallbackFn
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