Struct pdf::object::NameDictionary
source · pub struct NameDictionary {
pub pages: Option<NameTree<Primitive>>,
pub dests: Option<NameTree<Option<Dest>>>,
pub ap: Option<NameTree<Primitive>>,
pub javascript: Option<NameTree<Primitive>>,
pub templates: Option<NameTree<Primitive>>,
pub ids: Option<NameTree<Primitive>>,
pub urls: Option<NameTree<Primitive>>,
pub embedded_files: Option<NameTree<FileSpec>>,
}
Expand description
There is one NameDictionary
associated with each PDF file.
Fields§
§pages: Option<NameTree<Primitive>>
§dests: Option<NameTree<Option<Dest>>>
§ap: Option<NameTree<Primitive>>
§javascript: Option<NameTree<Primitive>>
§templates: Option<NameTree<Primitive>>
§ids: Option<NameTree<Primitive>>
§urls: Option<NameTree<Primitive>>
§embedded_files: Option<NameTree<FileSpec>>
Trait Implementations§
source§impl DataSize for NameDictionary
impl DataSize for NameDictionary
source§const IS_DYNAMIC: bool = true
const IS_DYNAMIC: bool = true
If
true
, the type has a heap size that can vary at runtime, depending on the actual value.source§const STATIC_HEAP_SIZE: usize = 0usize
const STATIC_HEAP_SIZE: usize = 0usize
The amount of space a value of the type always occupies. If
IS_DYNAMIC
is false, this is
the total amount of heap memory occupied by the value. Otherwise this is a lower bound.source§fn estimate_heap_size(&self) -> usize
fn estimate_heap_size(&self) -> usize
Estimates the size of heap memory taken up by this value. Read more
source§impl Debug for NameDictionary
impl Debug for NameDictionary
source§impl FromDict for NameDictionary
impl FromDict for NameDictionary
source§impl Object for NameDictionary
impl Object for NameDictionary
source§impl ObjectWrite for NameDictionary
impl ObjectWrite for NameDictionary
source§impl ToDict for NameDictionary
impl ToDict for NameDictionary
Auto Trait Implementations§
impl RefUnwindSafe for NameDictionary
impl Send for NameDictionary
impl Sync for NameDictionary
impl Unpin for NameDictionary
impl UnwindSafe for NameDictionary
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