Struct tectonic::docmodel::DocumentSetupOptions
source · pub struct DocumentSetupOptions { /* private fields */ }
Expand description
Options for setting up Document
instances with the driver
Implementations§
source§impl DocumentSetupOptions
impl DocumentSetupOptions
sourcepub fn new_with_security(security: SecuritySettings) -> Self
pub fn new_with_security(security: SecuritySettings) -> Self
Create a new set of document setup options with custom security settings.
sourcepub fn only_cached(&mut self, s: bool) -> &mut Self
pub fn only_cached(&mut self, s: bool) -> &mut Self
Specify whether any requests to the network will be made for bundle resources.
If the document’s backing bundle is not network-based, this setting will have no effect.
sourcepub fn deterministic_mode(&mut self, s: bool) -> &mut Self
pub fn deterministic_mode(&mut self, s: bool) -> &mut Self
Specify whether we want to ensure a deterministic build environment.
Trait Implementations§
source§impl Clone for DocumentSetupOptions
impl Clone for DocumentSetupOptions
source§fn clone(&self) -> DocumentSetupOptions
fn clone(&self) -> DocumentSetupOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DocumentSetupOptions
impl Debug for DocumentSetupOptions
source§impl Default for DocumentSetupOptions
impl Default for DocumentSetupOptions
source§fn default() -> DocumentSetupOptions
fn default() -> DocumentSetupOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DocumentSetupOptions
impl Send for DocumentSetupOptions
impl Sync for DocumentSetupOptions
impl Unpin for DocumentSetupOptions
impl UnwindSafe for DocumentSetupOptions
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