#[non_exhaustive]pub struct IndirectObject {
pub id: ObjRef,
pub object: Object,
pub length_recovered: bool,
pub skipped_keys: 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.
skipped_keys: boolTrue when a dictionary in the object had something other than a name where a key
belongs, and it was skipped (Parser::skipped_keys).
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 IndirectObjectwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Object>: Freeze,
PhantomData<(Name, Object)>: Freeze,
impl Move for IndirectObject
impl RefUnwindSafe for IndirectObject
impl Send for IndirectObjectwhere
RawVecInner: Send,
impl Sync for IndirectObjectwhere
RawVecInner: Sync,
impl Unpin for IndirectObject
impl UnsafeUnpin for IndirectObjectwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Object>: UnsafeUnpin,
PhantomData<(Name, Object)>: UnsafeUnpin,
impl UnwindSafe for IndirectObjectwhere
RawVecInner: UnwindSafe,
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