Struct pdf_writer::writers::MarkInfo
source · pub struct MarkInfo<'a> { /* private fields */ }
Expand description
Writer for a mark information dictionary. PDF 1.4+
This struct is created by Catalog::mark_info
.
Implementations§
source§impl<'a> MarkInfo<'a>
impl<'a> MarkInfo<'a>
sourcepub fn marked(&mut self, conformant: bool) -> &mut Self
pub fn marked(&mut self, conformant: bool) -> &mut Self
Write the /Marked
attribute to indicate whether the document conforms
to the Tagged PDF specification.
sourcepub fn user_properties(&mut self, present: bool) -> &mut Self
pub fn user_properties(&mut self, present: bool) -> &mut Self
Write the /UserProperties
attribute to indicate whether the document
contains structure elements with user properties. PDF 1.6+.
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§
Auto Trait Implementations§
impl<'a> Freeze for MarkInfo<'a>
impl<'a> RefUnwindSafe for MarkInfo<'a>
impl<'a> Send for MarkInfo<'a>
impl<'a> Sync for MarkInfo<'a>
impl<'a> Unpin for MarkInfo<'a>
impl<'a> !UnwindSafe for MarkInfo<'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