pub struct PgfDocument {
pub text: String,
pub images: Vec<ImageFile>,
}Expand description
A finished PGF document and the images to write beside it.
Fields§
§text: StringThe pgfpicture and its header.
images: Vec<ImageFile>The PNG files the picture includes, in drawing order.
Trait Implementations§
Source§impl Clone for PgfDocument
impl Clone for PgfDocument
Source§impl Debug for PgfDocument
impl Debug for PgfDocument
impl Eq for PgfDocument
Source§impl PartialEq for PgfDocument
impl PartialEq for PgfDocument
impl StructuralPartialEq for PgfDocument
Auto Trait Implementations§
impl Forget for PgfDocument
impl Freeze for PgfDocument
impl Move for PgfDocument
impl RefUnwindSafe for PgfDocument
impl Send for PgfDocument
impl Sync for PgfDocument
impl Unpin for PgfDocument
impl UnsafeUnpin for PgfDocument
impl UnwindSafe for PgfDocument
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