pub struct Picture {
pub width: Option<Expr>,
pub height: Option<Expr>,
pub stmts: Vec<Stmt>,
pub macros: Macros,
pub includes: IncludeCtx,
}Expand description
A complete picture: optional .PS <w> <h> dimensions plus a list of elements.
Fields§
§width: Option<Expr>§height: Option<Expr>§stmts: Vec<Stmt>§macros: Macros§includes: IncludeCtxFilesystem context for copy "file" includes (directory + policy);
carried so eval-time deferred parsing resolves includes the same way.
Trait Implementations§
impl StructuralPartialEq for Picture
Auto Trait Implementations§
impl Freeze for Picture
impl RefUnwindSafe for Picture
impl Send for Picture
impl Sync for Picture
impl Unpin for Picture
impl UnsafeUnpin for Picture
impl UnwindSafe for Picture
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