pub enum ObservationSelector {
ByteRange {
offset: u64,
len: u64,
},
PdfIndirectObject {
object: u32,
generation: u16,
},
PdfEncodedStream {
object: u32,
generation: u16,
},
PdfRevision {
index: u32,
},
}Expand description
A narrow observation of the reconstructed source.
Every selector resolves to a half-open output range [a, b) in the source
address space (output offset O is source offset O, by the exact profile).
Variants§
ByteRange
Raw output byte range [offset, offset + len).
PdfIndirectObject
The full physical byte extent of indirect object object generation
(the N G obj introducer through endobj).
PdfEncodedStream
The physical encoded stream data span of the stream in indirect object
object generation: the compressed bytes exactly as they appear in the
source.
Fields
PdfRevision
Every source byte belonging to incremental-update revision index.
Trait Implementations§
Source§impl Clone for ObservationSelector
impl Clone for ObservationSelector
impl Copy for ObservationSelector
Source§impl Debug for ObservationSelector
impl Debug for ObservationSelector
impl Eq for ObservationSelector
Source§impl PartialEq for ObservationSelector
impl PartialEq for ObservationSelector
impl StructuralPartialEq for ObservationSelector
Auto Trait Implementations§
impl Freeze for ObservationSelector
impl RefUnwindSafe for ObservationSelector
impl Send for ObservationSelector
impl Sync for ObservationSelector
impl Unpin for ObservationSelector
impl UnsafeUnpin for ObservationSelector
impl UnwindSafe for ObservationSelector
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