pub enum Object<'a> {
Boolean(bool),
Integer(i32),
Real(f32),
LiteralString(&'a str),
HexadecimalString(HexString<'a>),
Name(NameObject<'a>),
Array(Vec<Object<'a>>),
Dictionary(DictionaryObject<'a>),
Stream(DictionaryObject<'a>, &'a [u8]),
Null,
Indirect {
reference: IndirectReference,
object: Box<Object<'a>>,
},
}Variants§
Boolean(bool)
Integer(i32)
Real(f32)
LiteralString(&'a str)
HexadecimalString(HexString<'a>)
Name(NameObject<'a>)
Array(Vec<Object<'a>>)
Dictionary(DictionaryObject<'a>)
Stream(DictionaryObject<'a>, &'a [u8])
Null
Indirect
An indirect object definition.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Object<'a>
impl<'a> RefUnwindSafe for Object<'a>
impl<'a> Send for Object<'a>
impl<'a> Sync for Object<'a>
impl<'a> Unpin for Object<'a>
impl<'a> UnwindSafe for Object<'a>
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