pub enum ObjRole {
Generic,
XRefStream,
ObjectStream,
}Expand description
The structural role of an indirect object, inferred from its leading dictionary.
The classification is deliberately conservative: only a leading <<...>>
dictionary whose /Type is a simple name is inspected, so anything ambiguous
remains ObjRole::Generic.
Variants§
Generic
An ordinary object, or one whose role could not be established.
XRefStream
An object whose leading dictionary is /Type /XRef (a cross-reference
stream).
ObjectStream
An object whose leading dictionary is /Type /ObjStm (an object stream).
Trait Implementations§
impl Copy for ObjRole
impl Eq for ObjRole
impl StructuralPartialEq for ObjRole
Auto Trait Implementations§
impl Freeze for ObjRole
impl RefUnwindSafe for ObjRole
impl Send for ObjRole
impl Sync for ObjRole
impl Unpin for ObjRole
impl UnsafeUnpin for ObjRole
impl UnwindSafe for ObjRole
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