pub struct TemplateRenderRequest<'a> {
pub template: &'a [TemplateComponent],
pub context: RenderContext,
pub mode: CitationMode,
pub suppress_author: bool,
pub locator_raw: Option<&'a CitationLocator>,
pub citation_number: usize,
pub position: Option<Position>,
pub note_start_text_case: Option<NoteStartTextCase>,
pub integral_name_state: Option<IntegralNameState>,
}Expand description
Internal render request used to keep template-processing call sites compact.
Fields§
§template: &'a [TemplateComponent]The template to render.
context: RenderContextThe rendering context (Citation or Bibliography).
mode: CitationModeThe citation mode (Integral or NonIntegral).
Whether to suppress the author in output.
locator_raw: Option<&'a CitationLocator>The raw citation locator if present (for new rendering logic).
citation_number: usizeThe citation number for numeric styles.
position: Option<Position>The citation position (e.g., Ibid).
note_start_text_case: Option<NoteStartTextCase>Optional note-start text-case policy for note-style repeated-note output.
integral_name_state: Option<IntegralNameState>Integral name state for name formatting.
Auto Trait Implementations§
impl<'a> Freeze for TemplateRenderRequest<'a>
impl<'a> RefUnwindSafe for TemplateRenderRequest<'a>
impl<'a> Send for TemplateRenderRequest<'a>
impl<'a> Sync for TemplateRenderRequest<'a>
impl<'a> Unpin for TemplateRenderRequest<'a>
impl<'a> UnsafeUnpin for TemplateRenderRequest<'a>
impl<'a> UnwindSafe for TemplateRenderRequest<'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