pub enum Token {
}Expand description
PDF Token types
Variants§
Boolean(bool)
Boolean: true or false
Integer(i64)
Integer number
Real(f64)
Real number
String(Vec<u8>)
String (literal or hexadecimal)
Name(String)
Name object (e.g., /Type)
ArrayStart
Left square bracket [
ArrayEnd
Right square bracket ]
DictStart
Dictionary start <<
DictEnd
Dictionary end >>
Stream
Stream keyword
EndStream
Endstream keyword
Obj
Obj keyword
EndObj
Endobj keyword
StartXRef
StartXRef keyword
Reference(u32, u16)
Reference (e.g., 1 0 R)
Null
Null object
Comment(String)
Comment (usually ignored)
Eof
End of file
Trait Implementations§
impl StructuralPartialEq for Token
Auto Trait Implementations§
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnwindSafe for Token
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