pub struct RendererResources<'a> {
pub style: &'a Style,
pub bibliography: &'a Bibliography,
pub locale: &'a Locale,
pub config: &'a Config,
pub bibliography_config: Option<BibliographyConfig>,
}Expand description
Core style resources borrowed by every Renderer instance.
Bundles the four immutable resolution inputs so that Renderer::new stays
within clippy’s argument-count limit.
Fields§
§style: &'a StyleThe style definition containing templates and options.
bibliography: &'a BibliographyThe bibliography containing the reference data.
locale: &'a LocaleThe locale used for terms and formatting.
config: &'a ConfigThe active configuration options.
bibliography_config: Option<BibliographyConfig>The active bibliography-only configuration.
Auto Trait Implementations§
impl<'a> Freeze for RendererResources<'a>
impl<'a> !RefUnwindSafe for RendererResources<'a>
impl<'a> Send for RendererResources<'a>
impl<'a> Sync for RendererResources<'a>
impl<'a> Unpin for RendererResources<'a>
impl<'a> UnsafeUnpin for RendererResources<'a>
impl<'a> !UnwindSafe for RendererResources<'a>
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