pub struct RoleMap<'a> { /* private fields */ }Expand description
Writer for a role map dictionary. PDF 1.4+
This struct is created by StructTreeRoot::role_map.
For PDF 2.0 documents, note that this mapping maps to the PDF 1.7 roles. For
a namespace-aware role-mapping mechanism, see Namespace::role_map_ns.
Implementations§
Methods from Deref<Target = TypedDict<'a, Name<'a>>>§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RoleMap<'a>
impl<'a> RefUnwindSafe for RoleMap<'a>
impl<'a> Send for RoleMap<'a>
impl<'a> Sync for RoleMap<'a>
impl<'a> Unpin for RoleMap<'a>
impl<'a> !UnwindSafe for RoleMap<'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