Struct pdf_writer::writers::RoleMap
source · 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.
Implementations§
Methods from Deref<Target = TypedDict<'a, Name<'a>>>§
sourcepub fn pair(&mut self, key: Name<'_>, value: T) -> &mut Selfwhere
T: Primitive,
pub fn pair(&mut self, key: Name<'_>, value: T) -> &mut Selfwhere T: Primitive,
Write a key-value pair.
Trait Implementations§
Auto Trait Implementations§
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