pub struct CanvasParts {
pub ops: Vec<Op>,
pub fonts: Vec<Standard14>,
pub images: Vec<ImageData>,
/* private fields */
}Expand description
The accumulated output of a finished canvas.
Fields§
§ops: Vec<Op>Operators, in paint order.
fonts: Vec<Standard14>Distinct fonts in first-use order; index i is resource F{i+1}.
images: Vec<ImageData>Images in registration order; index i is resource Im{i+1}.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CanvasParts
impl RefUnwindSafe for CanvasParts
impl Send for CanvasParts
impl Sync for CanvasParts
impl Unpin for CanvasParts
impl UnsafeUnpin for CanvasParts
impl UnwindSafe for CanvasParts
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