#[repr(u8)]pub enum NodeKind {
Show 13 variants
DocumentExact = 1,
SourceSlice = 2,
PdfRevision = 3,
PdfObject = 4,
PdfStreamEncoded = 5,
PdfStreamDecoded = 6,
ContentOperators = 7,
TextRuns = 8,
PageContent = 9,
PagePreview = 10,
ResourceRef = 11,
Concat = 12,
Literal = 13,
}Expand description
What a node computes. The numeric values are part of the canonical encoding.
Variants§
DocumentExact = 1
The whole exact source, materialized from the descriptor blob.
SourceSlice = 2
An exact byte span of the source.
PdfRevision = 3
An exact physical revision span.
PdfObject = 4
An exact indirect-object byte span (n g obj … endobj).
PdfStreamEncoded = 5
The exact encoded bytes of a stream object’s data.
PdfStreamDecoded = 6
The decoded (inflated) bytes of a lone /FlateDecode stream.
ContentOperators = 7
A decoded content stream’s operator token span.
TextRuns = 8
A deterministic text-run projection of content operators.
PageContent = 9
A page’s concatenated decoded content stream.
PagePreview = 10
A deterministic structured page preview.
ResourceRef = 11
A physical byte span of one resource object referenced by a page.
Concat = 12
Concatenation of dependency outputs (exact).
Literal = 13
A raw exact literal held in the seed store.
Implementations§
Trait Implementations§
impl Copy for NodeKind
impl Eq for NodeKind
impl StructuralPartialEq for NodeKind
Auto Trait Implementations§
impl Freeze for NodeKind
impl RefUnwindSafe for NodeKind
impl Send for NodeKind
impl Sync for NodeKind
impl Unpin for NodeKind
impl UnsafeUnpin for NodeKind
impl UnwindSafe for NodeKind
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