Struct pdf_writer::writers::ListAttributes
source · pub struct ListAttributes<'a> { /* private fields */ }
Expand description
Writer for an list attributes dictionary. PDF 1.4+
This struct is created by Attributes::list
.
Implementations§
source§impl<'a> ListAttributes<'a>
impl<'a> ListAttributes<'a>
sourcepub fn list_numbering(&mut self, numbering: ListNumbering) -> &mut Self
pub fn list_numbering(&mut self, numbering: ListNumbering) -> &mut Self
Write the /ListNumbering
attribute.
Methods from Deref<Target = Dict<'a>>§
sourcepub fn insert(&mut self, key: Name<'_>) -> Obj<'_>
pub fn insert(&mut self, key: Name<'_>) -> Obj<'_>
Start writing a pair with an arbitrary value.
Trait Implementations§
source§impl<'a> Deref for ListAttributes<'a>
impl<'a> Deref for ListAttributes<'a>
source§impl<'a> DerefMut for ListAttributes<'a>
impl<'a> DerefMut for ListAttributes<'a>
source§impl<'a, 'any> Rewrite<'a> for ListAttributes<'any>
impl<'a, 'any> Rewrite<'a> for ListAttributes<'any>
§type Output = ListAttributes<'a>
type Output = ListAttributes<'a>
The writer with the rewritten lifetime.
Auto Trait Implementations§
impl<'a> Freeze for ListAttributes<'a>
impl<'a> RefUnwindSafe for ListAttributes<'a>
impl<'a> Send for ListAttributes<'a>
impl<'a> Sync for ListAttributes<'a>
impl<'a> Unpin for ListAttributes<'a>
impl<'a> !UnwindSafe for ListAttributes<'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