pub struct PictureRecorder { /* private fields */ }Expand description
Accumulates DrawCommands during the paint pass, then produces a Picture.
PaintCtx holds a &mut PictureRecorder. Every drawing helper on PaintCtx
pushes a command here instead of writing pixels. After the full tree has been
painted, call [finish] to seal the recording.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PictureRecorder
impl RefUnwindSafe for PictureRecorder
impl Send for PictureRecorder
impl Sync for PictureRecorder
impl Unpin for PictureRecorder
impl UnsafeUnpin for PictureRecorder
impl UnwindSafe for PictureRecorder
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