Struct geng_ui::widget::DrawContext
source · pub struct DrawContext<'a, 'b> {
pub draw2d: &'a Helper,
pub theme: &'a Theme,
pub position: Aabb2<f64>,
pub framebuffer: &'a mut Framebuffer<'b>,
}
Fields§
§draw2d: &'a Helper
§theme: &'a Theme
§position: Aabb2<f64>
§framebuffer: &'a mut Framebuffer<'b>
Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for DrawContext<'a, 'b>
impl<'a, 'b> !Send for DrawContext<'a, 'b>
impl<'a, 'b> !Sync for DrawContext<'a, 'b>
impl<'a, 'b> Unpin for DrawContext<'a, 'b>
impl<'a, 'b> !UnwindSafe for DrawContext<'a, 'b>
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