pub struct Citations { /* private fields */ }Expand description
The citations feature (FlmFeature): it registers the elements
\cite and \R, the collect, retrieve, check and bibliography-builder
stages with their tables (the cited keys, the citation entries, the cited
works, the bibliography piece), the service slot of the citation
providers, and the lowering rules of the citation marks and of the list of
cited works on every backend, the html backend and the recomposed LaTeX.
The module documentation describes the feature in full.
Construct it with Citations::new from a CitationsConfig, or take
the default configuration with feature;
stdlib::add_features constructs it from
StdlibConfig::citations.
Implementations§
Source§impl Citations
impl Citations
Sourcepub fn new(config: CitationsConfig) -> Citations
pub fn new(config: CitationsConfig) -> Citations
The feature constructed from config, which stays fixed for the life
of every registry the feature is built into.
Sourcepub fn config(&self) -> &CitationsConfig
pub fn config(&self) -> &CitationsConfig
The configuration this feature was constructed with.
Trait Implementations§
Source§impl FlmFeature for Citations
impl FlmFeature for Citations
Source§fn info(&self) -> FeatureInfo
fn info(&self) -> FeatureInfo
Source§fn settings(&self) -> Option<SettingsDecl>
fn settings(&self) -> Option<SettingsDecl>
None
for a feature that takes no settings as data. The default
implementation returns None. See crate::core::settings. Read moreSource§fn register(&self, b: &mut FeatureBuilder<'_>) -> Result<(), BuildError>
fn register(&self, b: &mut FeatureBuilder<'_>) -> Result<(), BuildError>
b. Read moreAuto Trait Implementations§
impl Forget for Citations
impl Freeze for Citationswhere
*const ArcInner<str> is !null: Freeze,
PhantomData<ArcInner<str>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<SubLevelDecl>: Freeze,
*const LeafNode<String, PluralWords> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, PluralWords)>>: Freeze,
impl Move for Citations
impl RefUnwindSafe for Citations
impl Send for Citationswhere
Arc<str>: Send,
RawVecInner: Send,
NodeRef<Owned, String, PluralWords, LeafOrInternal>: Send,
BoxRaw<(String, PluralWords)>: Send,
impl Sync for Citationswhere
Arc<str>: Sync,
RawVecInner: Sync,
NodeRef<Owned, String, PluralWords, LeafOrInternal>: Sync,
BoxRaw<(String, PluralWords)>: Sync,
impl Unpin for Citations
impl UnsafeUnpin for Citationswhere
*const ArcInner<str> is !null: UnsafeUnpin,
PhantomData<ArcInner<str>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<SubLevelDecl>: UnsafeUnpin,
*const LeafNode<String, PluralWords> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, PluralWords)>>: UnsafeUnpin,
impl UnwindSafe for Citations
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more