[−][src]Struct printpdf::types::plugins::graphics::xobject::XObjectList
List of XObjects
Methods
impl XObjectList
[src]
pub fn new() -> Self
[src]
Creates a new XObjectList
pub fn add_xobject(&mut self, xobj: XObject) -> XObjectRef
[src]
Adds a new XObject to the list
pub 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 Clone for XObjectList
[src]
fn clone(&self) -> XObjectList
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for XObjectList
[src]
fn default() -> XObjectList
[src]
impl Debug for XObjectList
[src]
Auto Trait Implementations
impl Sync for XObjectList
impl Send for XObjectList
impl Unpin for XObjectList
impl RefUnwindSafe for XObjectList
impl UnwindSafe for XObjectList
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
Sets value
as a parameter of self
.