#[non_exhaustive]pub struct IndirectObject {
pub id: ObjRef,
pub object: Object,
pub length_recovered: bool,
}Expand description
The result of Parser::indirect_object.
Added in 0.2.0.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: ObjRefThe object’s number and generation, from its num gen obj header.
object: ObjectThe object’s value (a Object::Stream for streams).
length_recovered: boolTrue when the object is a stream whose /Length was missing, wrong or unresolvable,
so its extent was recovered by scanning for endstream.
Trait Implementations§
Source§impl Clone for IndirectObject
impl Clone for IndirectObject
Source§impl Debug for IndirectObject
impl Debug for IndirectObject
Source§impl PartialEq for IndirectObject
impl PartialEq for IndirectObject
impl StructuralPartialEq for IndirectObject
Auto Trait Implementations§
impl Forget for IndirectObject
impl Freeze for IndirectObject
impl Move for IndirectObject
impl RefUnwindSafe for IndirectObject
impl Send for IndirectObject
impl Sync for IndirectObject
impl Unpin for IndirectObject
impl UnsafeUnpin for IndirectObject
impl UnwindSafe for IndirectObject
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