pub struct Gfx<'a> {
pub dc: &'a mut Dc,
pub sf: &'a mut Surface,
pub text: &'a mut Text,
}Expand description
the gfx target of a custom draw call (render time): the draw context (clip, origin, colour), the surface and the text engine (its path and rasterizer serve Shapes)
Fields§
§dc: &'a mut Dc§sf: &'a mut Surface§text: &'a mut TextImplementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Gfx<'a>
impl<'a> !UnwindSafe for Gfx<'a>
impl<'a> Forget for Gfx<'a>
impl<'a> Freeze for Gfx<'a>
impl<'a> Send for Gfx<'a>
impl<'a> Sync for Gfx<'a>
impl<'a> Unpin for Gfx<'a>
impl<'a> UnsafeUnpin for Gfx<'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