pub struct CacheDefaults {
pub c0_pdf: bool,
pub c1_xhtml: bool,
pub c2_preprocessor: bool,
pub c3_graph: bool,
}Expand description
Which cache points are enabled for writing.
Fields§
§c0_pdf: bool§c1_xhtml: bool§c2_preprocessor: bool§c3_graph: boolImplementations§
Source§impl CacheDefaults
impl CacheDefaults
Sourcepub fn should_write(&self, point: CachePoint) -> bool
pub fn should_write(&self, point: CachePoint) -> bool
Should we write to this cache point?
Trait Implementations§
Source§impl Clone for CacheDefaults
impl Clone for CacheDefaults
Source§fn clone(&self) -> CacheDefaults
fn clone(&self) -> CacheDefaults
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CacheDefaults
impl Debug for CacheDefaults
Source§impl Default for CacheDefaults
impl Default for CacheDefaults
Source§fn default() -> CacheDefaults
fn default() -> CacheDefaults
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CacheDefaults
impl RefUnwindSafe for CacheDefaults
impl Send for CacheDefaults
impl Sync for CacheDefaults
impl Unpin for CacheDefaults
impl UnsafeUnpin for CacheDefaults
impl UnwindSafe for CacheDefaults
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