Struct printpdf::types::plugins::graphics::xobject::XObjectList
[−]
[src]
pub struct XObjectList { /* fields omitted */ }
List of XObjects
Methods
impl XObjectList
[src]
fn new() -> Self
[src]
Creates a new XObjectList
fn add_xobject(&mut self, xobj: XObject) -> XObjectRef
[src]
Adds a new XObject to the list
fn into_with_document(self, doc: &mut Document) -> Dictionary
[src]
Same as Into<lopdf::Dictionary>
, but since the dictionary
items in an XObject dictionary are streams and must be added to
the document as references, this function needs an additional
access to the PDF document so that we can add the streams first and
then track the references to them.
Trait Implementations
impl Debug for XObjectList
[src]
impl Default for XObjectList
[src]
fn default() -> XObjectList
[src]
Returns the "default value" for a type. Read more
impl Clone for XObjectList
[src]
fn clone(&self) -> XObjectList
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more