pub enum Work {
Lua,
Fonts,
LineBreak,
Shipout,
Images,
}Expand description
Engine work, charged on its own besides the macros that started it.
Variants§
Lua
Lua code (\directlua, \luafunction, callbacks).
Fonts
Loading a font (define_font).
LineBreak
Breaking a paragraph into lines.
Shipout
Shipping a page out (the page’s PDF).
Images
Reading an image (\saveimageresource, \pdfximage).
Implementations§
Trait Implementations§
impl Copy for Work
impl Eq for Work
Source§impl Ord for Work
impl Ord for Work
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Work
impl PartialOrd for Work
impl StructuralPartialEq for Work
Auto Trait Implementations§
impl Freeze for Work
impl RefUnwindSafe for Work
impl Send for Work
impl Sync for Work
impl Unpin for Work
impl UnsafeUnpin for Work
impl UnwindSafe for Work
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