pub struct ImportOptionsBuilder(/* private fields */);Expand description
Builds an ImportOptions one setting at a time.
Implementations§
Source§impl ImportOptionsBuilder
impl ImportOptionsBuilder
Sourcepub fn at(self, at: impl Into<PageIndex>) -> Self
pub fn at(self, at: impl Into<PageIndex>) -> Self
Where in the destination’s page list the imported pages go.
Sourcepub fn viewer_preferences(self, copy: bool) -> Self
pub fn viewer_preferences(self, copy: bool) -> Self
Also copy the source catalog’s /ViewerPreferences.
Sourcepub fn build(self) -> ImportOptions
pub fn build(self) -> ImportOptions
The options built so far.
Trait Implementations§
Source§impl Clone for ImportOptionsBuilder
impl Clone for ImportOptionsBuilder
impl Copy for ImportOptionsBuilder
Auto Trait Implementations§
impl Freeze for ImportOptionsBuilder
impl RefUnwindSafe for ImportOptionsBuilder
impl Send for ImportOptionsBuilder
impl Sync for ImportOptionsBuilder
impl Unpin for ImportOptionsBuilder
impl UnsafeUnpin for ImportOptionsBuilder
impl UnwindSafe for ImportOptionsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.