pub struct Drawing {
pub frames: Vec<Frame>,
pub area: Frame,
pub list: Vec<Draw>,
pub images: Vec<ImageData>,
/* private fields */
}Expand description
A scene laid out and ready to paint: every node’s box in tree order, the design’s drawing, the commands that paint it, and the images they paint.
Fields§
§frames: Vec<Frame>§area: Frame§list: Vec<Draw>§images: Vec<ImageData>Every image the list paints, each under a blob of its own, in the
order the list first paints it: what the GPU’s atlas holds for this
drawing, placed as crate::atlas::place places them.
Auto Trait Implementations§
impl !RefUnwindSafe for Drawing
impl !UnwindSafe for Drawing
impl Freeze for Drawing
impl Send for Drawing
impl Sync for Drawing
impl Unpin for Drawing
impl UnsafeUnpin for Drawing
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