pub struct MarkContent<'a> { /* private fields */ }
Expand description
Writer for a begin marked content operation. PDF 1.3+.
Implementations§
source§impl<'a> MarkContent<'a>
impl<'a> MarkContent<'a>
sourcepub fn properties(&mut self) -> PropertyList<'_>
pub fn properties(&mut self) -> PropertyList<'_>
Start writing this marked content’s property list. Mutually exclusive
with properties_named
.
sourcepub fn properties_named(self, name: Name<'_>)
pub fn properties_named(self, name: Name<'_>)
Reference a property list from the Resource dictionary. These property
lists can be written using the Resources::properties
method.
Mutually exclusive with properties
.
Methods from Deref<Target = Operation<'a>>§
sourcepub fn operands<T, I>(&mut self, values: I) -> &mut Selfwhere
T: Primitive,
I: IntoIterator<Item = T>,
pub fn operands<T, I>(&mut self, values: I) -> &mut Selfwhere
T: Primitive,
I: IntoIterator<Item = T>,
Write a sequence of primitive operands.
Trait Implementations§
source§impl<'a> Deref for MarkContent<'a>
impl<'a> Deref for MarkContent<'a>
Auto Trait Implementations§
impl<'a> Freeze for MarkContent<'a>
impl<'a> RefUnwindSafe for MarkContent<'a>
impl<'a> Send for MarkContent<'a>
impl<'a> Sync for MarkContent<'a>
impl<'a> Unpin for MarkContent<'a>
impl<'a> !UnwindSafe for MarkContent<'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