pub enum ObjKind {
Obj,
Annot,
Link,
Page,
Font,
Ximage,
Xform,
Other,
}Expand description
Kinds of PDF object numbers, as pdf.getobjtype names them.
Variants§
Obj
\pdfextension obj, pdf.obj, pdf.reserveobj().
Annot
\pdfextension annot, pdf.reserveobj("annot").
Link
Links (\pdfextension startlink); LuaTeX reports others.
Page
Page objects (pdf.getpageref, \pdffeedback pageref).
Font
Font objects (pdf.getfontobjnum, \pdffeedback fontobjnum).
Ximage
Image XObjects (\saveimageresource).
Xform
Box resources (\saveboxresource).
Other
Destinations, outline entries, actions, threads.
Implementations§
Trait Implementations§
impl Copy for ObjKind
impl Eq for ObjKind
impl StructuralPartialEq for ObjKind
Auto Trait Implementations§
impl Freeze for ObjKind
impl RefUnwindSafe for ObjKind
impl Send for ObjKind
impl Sync for ObjKind
impl Unpin for ObjKind
impl UnsafeUnpin for ObjKind
impl UnwindSafe for ObjKind
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