Struct DebugRendererDrawEvent
pub struct DebugRendererDrawEvent<'a> {
pub id: &'a str,
pub view: &'a WorldRenderView,
pub draw: &'a mut dyn WorldDrawContext,
}Expand description
What Hooks::debug_renderer_draw is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§id: &'a str§view: &'a WorldRenderView§draw: &'a mut dyn WorldDrawContextAuto Trait Implementations§
impl<'a> !RefUnwindSafe for DebugRendererDrawEvent<'a>
impl<'a> !Send for DebugRendererDrawEvent<'a>
impl<'a> !Sync for DebugRendererDrawEvent<'a>
impl<'a> !UnwindSafe for DebugRendererDrawEvent<'a>
impl<'a> Freeze for DebugRendererDrawEvent<'a>
impl<'a> Unpin for DebugRendererDrawEvent<'a>
impl<'a> UnsafeUnpin for DebugRendererDrawEvent<'a>
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