pub struct DocumentSubset { /* private fields */ }
Expand description
Subset of PdfDocument
. Created as some types within PdfDocument
weren’t sync so it couldn’t be used with rayon
Implementations§
Source§impl DocumentSubset
impl DocumentSubset
Sourcepub fn to_document(&mut self, doc: &mut PdfDocument)
pub fn to_document(&mut self, doc: &mut PdfDocument)
Append everything from the DocumentSubset
into the actual PdfDocument
Trait Implementations§
Source§impl Default for DocumentSubset
impl Default for DocumentSubset
Source§fn default() -> DocumentSubset
fn default() -> DocumentSubset
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DocumentSubset
impl RefUnwindSafe for DocumentSubset
impl Send for DocumentSubset
impl Sync for DocumentSubset
impl Unpin for DocumentSubset
impl UnwindSafe for DocumentSubset
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more