pub struct Uncollected {
pub key: String,
}Expand description
Error raised when a citation key is cited only outside the trees of the
document, so that it has no number (condition id
flm.citations.uncollected).
The collect stage (COLLECT) records the citation keys
of the citations in the trees of the document, and only these citation keys
are numbered. A citation in other content is not recorded. This is the
case for a citation in a synthesized
value that a stage
creates, and for a citation in the template of a user definition whose use
sites are expanded during lowering.
Reported by the lowering rules of \cite and \R through
stage_mark, once for each such citation key, at the
\cite or \R. The citation key is left out of the citation mark. If no
citation key is left, the citation expands to a dropped mark
(flm.pres.dropped).
Fields§
§key: StringThe citation key.
Implementations§
Source§impl Uncollected
impl Uncollected
Sourcepub fn new(key: impl Into<String>) -> Self
pub fn new(key: impl Into<String>) -> Self
Creates a Uncollected condition.
Trait Implementations§
Source§impl Clone for Uncollected
impl Clone for Uncollected
Source§impl Debug for Uncollected
impl Debug for Uncollected
Source§impl DiagnosticInfo for Uncollected
impl DiagnosticInfo for Uncollected
Source§const IDENTIFIER: &'static str = "flm.citations.uncollected"
const IDENTIFIER: &'static str = "flm.citations.uncollected"
<crate-or-lang>.<area>.<condition>. Read moreSource§fn serializable_data(&self) -> DiagnosticValue
fn serializable_data(&self) -> DiagnosticValue
Source§fn identifier(&self) -> &str
fn identifier(&self) -> &str
Source§impl Display for Uncollected
impl Display for Uncollected
impl Eq for Uncollected
Source§impl PartialEq for Uncollected
impl PartialEq for Uncollected
impl StructuralPartialEq for Uncollected
Auto Trait Implementations§
impl Forget for Uncollected
impl Freeze for Uncollected
impl Move for Uncollected
impl RefUnwindSafe for Uncollected
impl Send for Uncollected
impl Sync for Uncollected
impl Unpin for Uncollected
impl UnsafeUnpin for Uncollected
impl UnwindSafe for Uncollected
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> DiagnosticData for Twhere
T: DiagnosticInfo,
impl<T> DiagnosticData for Twhere
T: DiagnosticInfo,
Source§fn identifier(&self) -> &str
fn identifier(&self) -> &str
DiagnosticInfo::identifier — for every
ordinary condition, the IDENTIFIER const).Source§fn serializable_data(&self) -> DiagnosticValue
fn serializable_data(&self) -> DiagnosticValue
DiagnosticInfo::serializable_data).Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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